ssh -instaling problems
Hi !
Everybody out there
I'm quite new to Linux .I'm using ubuntu 10.04. I added two user with different name.
Name of the users are following 1:- Anil 2: Sunil .
Both user have their home directory.
Now problem is that,I want Anil can ssh in to Sunil's account without using pass word.
I did the following steps :
su Anil press enter.
Enter the password of anil's account (which is "anil")
In Anil account i just type command
ssh-keygen & press enter
ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/
/home/Anil/
Overwrite (y/n)? Y
Enter passphrase (empty for no passphrase): (I'm using no paraphrase)
Enter same passphrase again:
Your identification has been saved in /home/Anil/
Your public key has been saved in /home/Anil/
The key fingerprint is:
f4:9e:f6:
The key's randomart image is:
+--[ RSA 2048]----+
| |
| o + |
| . E o |
| . . . o |
| S . . .|
| . . o .o|
| . * . .+.|
| = + . =|
| . o. +=|
+-----------------+
than i use the command
ssh-copy-id -i /home/Anil/
(here the ip address is of Sunil's account
Anil@192.
i enter the Anil's password (which is "anil").
I got the msg
Now try logging into the machine, with "ssh '192.168.0.133'", and check in:
.ssh/
to make sure we haven't added extra keys that you weren't expecting.
After that i tried to ssh into Sunil's account it still ask for password.
Can you tell me how to what I'm doing wrong?
What should i do to make passwored less access to account ?
Please help this novice fellow.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu openssh Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask snakeubuntu for more information if necessary.