Benutzerinformationen überspringen
Registrierungsdatum: 22. Oktober 2007
Wohnort: Zürich
Beruf: asp.net web engineer
![]() |
Quellcode |
1 |
cd /etc/ssh/ |
![]() |
Quellcode |
1 |
vi sshd_config |
![]() |
Quellcode |
1 2 3 |
# What ports, IPs and protocols we listen for Port 31337 AuthorizedKeysFile %h/.ssh/authorized_keys2 |
![]() |
Quellcode |
1 |
:wq |
![]() |
Quellcode |
1 |
killall -HUP sshd |
![]() |
Quellcode |
1 |
cd /root/.ssh/ |
![]() |
Quellcode |
1 |
vi authorized_keys2 |
![]() |
Quellcode |
1 |
:wq |
![]() |
Quellcode |
1 |
logout |
![]() |
Quellcode |
1 2 3 |
login as: username Authenticating with public key "s-master" Passphrase for key "s-master": |