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
1,326 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
• 52,370 points

Related Questions In Linux Administration

0 votes
1 answer

-bash: cd: /root/: Permission denied

Hi@akhtar, You got this error because your user ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,320 points
15,217 views
0 votes
1 answer

ls: cannot open directory '.': Permission denied

Hi@akhtar, You got this error because your user ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,320 points
6,079 views
+1 vote
2 answers

What does file permission 755 mean?

Hi, File permission 755 means that the directory ...READ MORE

answered Dec 9, 2020 in Linux Administration by MD
• 95,320 points
125,658 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
• 69,150 points
821 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
212 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,890 points
2,295 views
0 votes
2 answers

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

Sorry in advance for any formatting. Check out ...READ MORE

answered Feb 7 in Linux Administration by anonymous
12,067 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,640 points
7,461 views
0 votes
1 answer

How to configure SSH server in RHEL/CentOS?

Hi@MD, To configure SSH server to your system, ...READ MORE

answered Mar 30, 2020 in Linux Administration by akhtar
• 38,210 points
257 views