Difference between pages "Ssh-copy-id" and "/etc/shadow"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
(New page: ssh-copy-id is a command to copy a key for passwordless logins to another server. If successful, it will create a trust relationship between your computer and another so that you c...)
 
imported>ThorstenStaerk
(New page: /etc/shadow is a file that contains encrypted passwords for the users listed in /etc/passwd. It can look like this: root:$2a$10$nAu/t6aigNE1RpgshyXFSO8heERwSFJqAGxUch8fXe5sJFxs.aqp2:1...)
 
Line 1: Line 1:
ssh-copy-id is a [[command]] to copy a key for [[passwordless logins]] to another server. If successful, it will create a trust relationship between your computer and another so that you can log in without a password.
+
/etc/shadow is a [[file]] that contains encrypted passwords for the users listed in /etc/passwd. It can look like this:
 
+
root:$2a$10$nAu/t6aigNE1RpgshyXFSO8heERwSFJqAGxUch8fXe5sJFxs.aqp2:14903::::::
= Example =
+
bin:*:14749::::::
ssh-copy-id -i .ssh/id_dsa.pub root@server
+
daemon:*:14749::::::
 +
The columns are separated by colons. The first column contains the user name. The second column contains the password.

Latest revision as of 14:55, 21 October 2010

/etc/shadow is a file that contains encrypted passwords for the users listed in /etc/passwd. It can look like this:

root:$2a$10$nAu/t6aigNE1RpgshyXFSO8heERwSFJqAGxUch8fXe5sJFxs.aqp2:14903::::::
bin:*:14749::::::
daemon:*:14749::::::

The columns are separated by colons. The first column contains the user name. The second column contains the password.