Advertisements

Access Denied SSH Login Using keyboard-interactive authentication

Biasakan membaca sampai selesai, bijaklah dalam mengambil kesimpulan dari sebuah artikel. Beberapa artikel dibagi menjadi beberapa halaman. 
Silahkan Share dan beri respon saran kritik jika sobat meyukai artikel ini
Print Friendly, PDF & Email

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

Advertisements

us jauhari

Pernah mukim di salah satu Penjara Suci Bumi Reog. Traveller, Backpacker, Mountaineer dan coretan-coretan Phone : 08214435xxxx mcretive always opening your mind

You may also like...

2 Responses

  1. Gaurav says:

    still issue not resolve after follow suggested steps

Jangan lupa tinggalkan komentar ya gais

Sobat menyukai ini ?

Share aja ke akun sosmed kamu!