ssh :: Permission denied

0 votes
I have access issues , trying to access another two linux instances via ssh , but getting below error :

 sudo ssh kk@172.31.10.xx
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

Please help , suggest me.
Apr 2, 2019 in Linux Administration by Vinod
• 140 points
392 views

1 answer to this question.

0 votes

Hey @Vinod, 

Check if you're providing the correct username and password or

try editing /etc/ssh/sshd_config file. Set the

PasswordAuthentication yes

service sshd restart
answered Apr 2, 2019 by Kalgi
• 49,640 points

Related Questions In Linux Administration

0 votes
1 answer

What does file permission 755 mean?

A 777 permission on the directory means that everyone has access ...READ MORE

answered Dec 21, 2018 in Linux Administration by Omkar
• 68,840 points
11,957 views
–1 vote
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 68,840 points
154 views
0 votes
1 answer

Downloading file using SSH from a server without web access

Run this command in  your terminal: scp your_username@remotehost.edu:foobar.txt ...READ MORE

answered Mar 5, 2019 in Linux Administration by ajs3033
• 7,280 points
63 views
0 votes
1 answer

Access Denied to user root@localhost while using mysql

For MySQL versions < 5.7: the default root ...READ MORE

answered May 13, 2019 in Linux Administration by DareDev
• 6,810 points
962 views
0 votes
1 answer

How do I use a shell script to SSH in to a remote machine to execute commands?

Your first problem can be solved like ...READ MORE

answered Jun 27, 2019 in Linux Administration by ajs3033
• 7,280 points
89 views
0 votes
1 answer

How to Unblock SSH and FTP Access to Specific IP in Linux?

Firewalls(most of them) can either Reject or ...READ MORE

answered Jul 16, 2019 in Linux Administration by Archana
• 5,600 points
648 views
0 votes
1 answer

SSH access to Amazon EC2 instance shows permission denied

The error is an authentication error. The ...READ MORE

answered Jul 16, 2018 in Cloud Computing by Gopalan
• 1,280 points
178 views
0 votes
1 answer

Permission denied when I SSH access to EC2 instance

These are common reasons that can cause ...READ MORE

answered Mar 12, 2019 in AWS by Reema
136 views
0 votes
1 answer
+1 vote
1 answer

AWS ssh access permission denied (public key issue)

For Ubuntu Instance, First, check whether you have ...READ MORE

answered May 13, 2019 in AWS by sunshine
• 1,260 points
523 views