Среда (12/19/18)

/dev/pts/2
08:33:31
$ssh 172.20.13.183
-rw-r--r-- 1 ec2-user ec2-user  18 Jul 27 18:42 .bash_logout
-rw-r--r-- 1 ec2-user ec2-user 193 Jul 27 18:42 .bash_profile
-rw-r--r-- 1 ec2-user ec2-user 231 Jul 27 18:42 .bashrc
drwx------ 2 ec2-user ec2-user  29 Dec 19 07:28 .ssh
[ec2-user@ip-10-2-1-85 ~]$ ls -al .ssh/
total 4
drwx------ 2 ec2-user ec2-user  29 Dec 19 07:28 .
drwx------ 3 ec2-user ec2-user  95 Dec 19 07:33 ..
-rw------- 1 ec2-user ec2-user 388 Dec 19 07:28 authorized_keys
[ec2-user@ip-10-2-1-85 ~]$ ls -al
total 16
drwx------ 3 ec2-user ec2-user  95 Dec 19 07:33 .
drwxr-xr-x 3 root     root      22 Dec 19 07:28 ..
-rw------- 1 ec2-user ec2-user   5 Dec 19 07:33 .bash_history
-rw-r--r-- 1 ec2-user ec2-user  18 Jul 27 18:42 .bash_logout
-rw-r--r-- 1 ec2-user ec2-user 193 Jul 27 18:42 .bash_profile
-rw-r--r-- 1 ec2-user ec2-user 231 Jul 27 18:42 .bashrc
drwx------ 2 ec2-user ec2-user  29 Dec 19 07:28 .ssh
[ec2-user@ip-10-2-1-85 ~]$ cat ~/.ssh/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClAYBV26U6PGYnO1pfl5zvF3wHVufHXcsJkcZN10t6jkKVyLNyYPV5HdzT2ytDcuALY61KurzzOOha4totVugpyr3HNeiy1fxkoSoLUELYuMnya/tZBCgw4GOFb9QLhMXCsQ6NCnIpXqvbxkeRu4rTf2zYKDKE0/UQ3/mTm94AT/nm3V+3HReh5PGFqt6A2jeNiBMA2+8tKBYueEmQJjYIUkuuUGmI7TNo55wQB2sIWIBhR04xpY3VSwecClgTLqCkaYegZxbhOPNuvHDWehftqcNR1zF7RL1i3MMYhJL0yjr1K0xRbBHzwsvcMpGiDhAc0qr6EhKBKVOD8iERusFj user10
[ec2-user@ip-10-2-1-85 ~]$ cat -n ~/.ssh/authorized_keys
     1  ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClAYBV26U6PGYnO1pfl5zvF3wHVufHXcsJkcZN10t6jkKVyLNyYPV5HdzT2ytDcuALY61KurzzOOha4totVugpyr3HNeiy1fxkoSoLUELYuMnya/tZBCgw4GOFb9QLhMXCsQ6NCnIpXqvbxkeRu4rTf2zYKDKE0/UQ3/mTm94AT/nm3V+3HReh5PGFqt6A2jeNiBMA2+8tKBYueEmQJjYIUkuuUGmI7TNo55wQB2sIWIBhR04xpY3VSwecClgTLqCkaYegZxbhOPNuvHDWehftqcNR1zF7RL1i3MMYhJL0yjr1K0xRbBHzwsvcMpGiDhAc0qr6EhKBKVOD8iERusFj user10
[ec2-user@ip-10-2-1-85 ~]$ exit
logout
Connection to ec2-34-244-157-202.eu-west-1.compute.amazonaws.com closed.