Hi All,
I am not able to ssh to thor@aapp01 for question number 08 in lab. Please find the below screen for future refence .
Anyone can you please help to establish the connection.
Thanks
Govardhan N
Hi All,
I am not able to ssh to thor@aapp01 for question number 08 in lab. Please find the below screen for future refence .
Anyone can you please help to establish the connection.
Thanks
Govardhan N
One point to update while creating ssh-keygen for 7th question.
before creating the ssh-keygen I tried check command for whether we have existing .pub
when I tried to generate with out admin user it is generating below error
Thanks & Regards
Govardhan N
@tgp,
on 7th question itself not able to generate for the following command ssh-keygen -t rsa but if I am doing with sudo I am able to generate & it is saving in root user folder. But how to generate with out sudo user.
with out sudo user
@tgp,
For me, I am getting above error as mykey failed : Permission denied and if you have zoom I can show you details. and I m give the same command as per your request in the screen shot.
@tgp,
I can not upload the zoom recorded file and please find the below screen shot what commands I gave as input
Thanks
Govardhan
Hello @Govardhan
Please try again the steps in question 7 but when you enter the file in which you have to save the key enter the full path “/home/thor/.ssh/mykey” not “mykey” then you will not get permission denied error and you could proceed successfully to question 8 as your steps in it are right.
Thank you it is working after placing in particular path
I can not proceed for the question 8 and please find the following below screen.
~/.ssh
directory as well as the authorized_keys
file (command executed but not able find file in App01 server).but it is not working . can any one please help
all you have to do is to only use this command ssh-copy-id -i ~/.ssh/mykey.pub thor@app01 to copy the content noting that this is the only requirement.
After executing this command you have to click on check and it will work fine then.
After entering the above command incase it asks for password please enter mjolnir123
Please change the key permission with 755 of key files and it will work.
If it will ask for the password please use mjolnir123
It worked for me I was able to ssh thor@app01.