“I can’t login to my FreeBSD via SSH by putty with my root account.”
Login as: root
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
“Saya tidak bisa masuk ke FreeBSD via SSH menggunakan Putty dengan akun root”
Login as: root
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
1. Login to your machine as root directly, don’t remote it
2. Edit file named sshd config. It’s located at /etc/ssh/
#vi /etc/ssh/sshd config
3. Find this line
# Authentication:
#LoginGraceTime 2m
#PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
4. Uncomment and change the line with bold
# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
5. Restart ssd service
#/etc/rc.d/sshd restart
Stopping sshd.
Waiting for PIDS: 1285.
Starting sshd.
6. You should have to be able to login as root remotely
Login as: root
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
“Saya tidak bisa masuk ke FreeBSD via SSH menggunakan Putty dengan akun root”
Login as: root
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
1. Login to your machine as root directly, don’t remote it
2. Edit file named sshd config. It’s located at /etc/ssh/
#vi /etc/ssh/sshd config
3. Find this line
# Authentication:
#LoginGraceTime 2m
#PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
4. Uncomment and change the line with bold
# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
5. Restart ssd service
#/etc/rc.d/sshd restart
Stopping sshd.
Waiting for PIDS: 1285.
Starting sshd.
6. You should have to be able to login as root remotely
댓글
댓글 쓰기