Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 0:504:kai@desktop ~/Desktop [0]$ ./ssh_autologin
- mkdir: kann Verzeichnis „/home/kai/.ssh/“ nicht anlegen: Die Datei existiert bereits
- /home/kai/.ssh/known_hosts updated.
- Original contents retained as /home/kai/.ssh/known_hosts.old
- Generating public/private rsa key pair.
- Enter passphrase (empty for no passphrase):
- Enter same passphrase again:
- Your identification has been saved in /home/kai/.ssh/rli.
- Your public key has been saved in /home/kai/.ssh/rli.pub.
- The key fingerprint is:
- 66:fa:76:87:ef:a1:73:cb:1c:d1:7d:b5:e7:d9:03:33 kai@desktop
- The key's randomart image is:
- +--[ RSA 2048]----+
- | |
- | |
- | .|
- | . .o|
- | S .E..+|
- | + .+.=|
- | . .o oo|
- | .. ++oo .|
- | ....**. |
- +-----------------+
- ./ssh_autologin: Zeile 13: [: IdentityFile ~/.ssh/rli: Zweistelliger (binärer) Operator erwartet.
- The authenticity of host '192.168.4.114 (192.168.4.114)' can't be established.
- ECDSA key fingerprint is f3:2d:75:81:53:1b:f1:28:3e:d9:12:1b:db:bb:0e:f0.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '192.168.4.114' (ECDSA) to the list of known hosts.
- testuser@192.168.4.114's password:
- Warning: untrusted X11 forwarding setup failed: xauth key data not generated
- Warning: No xauth data; using fake authentication data for X11 forwarding.
- 0:505:kai@desktop ~/Desktop [0]$ ssh testuser@192.168.4.114
- Agent admitted failure to sign using the key.
- testuser@192.168.4.114's password:
- Warning: untrusted X11 forwarding setup failed: xauth key data not generated
- Warning: No xauth data; using fake authentication data for X11 forwarding.
- grml - Linux for geeks
- testuser@grml:~$ cat .ssh/authorized_keys
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0MfiWJsjbdG7/MsZiqAKBMP28GHRzr474ZURinAxOIPutu1TXCdzFAc6331KuLciDTiva2iOmeDYU13GQrhTVZ29G0XS2GpzUl/uqN0iiKtDeBGCHTuG9ku8gFzJcH38W2iI0+dMT2rRG6S8yhit4uLRnJCFTb117eVjHLAvUEHsAzEFvHIzYcLsc1UaERO8vyti9HoYBwwUHr5cOUiRgm9d026ds0WW3f5cN+FZT4vQ/yJOELF7QxCOhvXd1LbSQ9WRK3mGq8vFthldBRi184dthn56/FRk00aVHnXkwwJ6Xv9iAoKX3rP53A+tthNXylBE1Q5ER0zJPrO/BaNOz kai@desktop
- testuser@grml:~$ logout
- Connection to 192.168.4.114 closed.
- 0:506:kai@desktop ~/Desktop [0]$
Add Comment
Please, Sign In to add comment