Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you might find the site temporarily inaccessible. Thanks for your patience. Read more.

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

ssh-add ~/.ssh/<private_key_file>

kalpesh modi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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