Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ssh-add ~/.ssh/<private_key_file>

kalpesh modi September 29, 2018

hi

My name is kalpesh. I am trying to create command in cloud 9 as  ssh-add ~/.ssh/<private_key_file> and message shows like  syntax error near unexpected token `newline'

so how I can solve this problem?

2 comments

Comment

Log in or Sign up to comment
Erica Moss
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 1, 2018

Hi, @kalpesh modi! Welcome to the community! I'm going to move your post to the Off-topic collection, where I hope you can get a good answer from the experts there. Feel free to introduce yourself, too!

claraguo May 30, 2019

You need to replace <private_key_file> by the path where you store your private key file, by fault it is 

ssh-add -K ~/.ssh/id_rsa

TAGS
AUG Leaders

Atlassian Community Events