Error saying "cat: /home/ubuntu/.ssh/id_rsa.pub: No such file or directory" when trying to cat the ssh key

0 votes
I’m trying to cat my ssh key but I get this error

cat: /home/ubuntu/.ssh/id_rsa.pub: No such file or directory
Jan 21 in DevOps & Agile by Nishal
437 views

1 answer to this question.

0 votes

This error means you don't have an ssh key yet. Create on using the following command

ssh-keygen

Now try using cat to get the key

answered Jan 21 by Yesha

Related Questions In DevOps & Agile

0 votes
1 answer
0 votes
1 answer

to check file has the same value or not i.e comparing file with stat module.

Try the following script: Do the second time ...READ MORE

answered May 1, 2018 in DevOps & Agile by shubham
• 6,890 points
622 views
+5 votes
3 answers

Error while trying to install postgis extension with greenplum

Try re downloading the package and installing ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
102 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
91 views
0 votes
1 answer

Install postgreSQL on Ubuntu

Installing PostgreSQL on Ubuntu is very simple, ...READ MORE

answered Mar 22 in Database by Nitesh
60 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

answered Mar 22 in Database by Mahi
41 views
+13 votes
2 answers
0 votes
1 answer

How to edit file after I shell to a docker container?

Since docker images are trimmed to bare minimum ...READ MORE

answered Sep 11, 2018 in DevOps & Agile by Damon Salvatore
• 5,510 points
75 views