Access Denied SSH Login Using keyboard-interactive authentication

2
4311
Halaman:
Sertakan sumber dengan jelas jika ingin mencopy. Selalu cek tanggal, karena mungkin ada beberapa artikel lama yang belum disesuaikan dengan fakta terbaru

Access Denied SSH Login Using keyboard-interactive authentication

General Information

VMWare 7.1

Host : Win 7 Ultimate x86

Guest : FreeBSD 8.1

Connection : NAT

VIA : SSH

Known Issue

"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:

What is this???




For security reason, FreeBSD doesn't let you to login remotely with root access. There is configuration file that have to be changed

Untuk alasan keamanan, kita tidak diperbolehkan untuk masuk system dari remote mesin dengan akses root

What I've to do???

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

General Information

VMWare 7.1

Host : Win 7 Ultimate x86

Guest : FreeBSD 8.1

Connection : NAT

VIA : SSH

Known Issue

"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:

What is this???

For security reason, FreeBSD doesn't let you to login remotely with root access. There is configuration file that have to be changed

Untuk alasan keamanan, kita tidak diperbolehkan untuk masuk system dari remote mesin dengan akses root

What I've to do???

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

General Information

VMWare 7.1

Host : Win 7 Ultimate x86

Guest : FreeBSD 8.1

Connection : NAT

VIA : SSH

Known Issue

"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:

What is this???

For security reason, FreeBSD doesn't let you to login remotely with root access. There is configuration file that have to be changed

Untuk alasan keamanan, kita tidak diperbolehkan untuk masuk system dari remote mesin dengan akses root

What I've to do???

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

Access Denied SSH Login Using keyboard-interactive authentication. Access Denied SSH Login Using keyboard-interactive authentication. Access Denied SSH Login Using keyboard-interactive authentication. Access Denied SSH Login Using keyboard-interactive authentication

2 COMMENTS

Jangan lupa tinggalkan komentar ya gais

This site uses Akismet to reduce spam. Learn how your comment data is processed.