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
589 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
• 51,890 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
• 69,040 points
32,964 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,040 points
279 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
85 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,850 points
1,677 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
793 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
2,187 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 in Linux Administration by akhtar
• 14,170 points
59 views
0 votes
1 answer

How to run GUI program in SSH server from remote desktop?

Hi@akhtar, First you have to configure SSH server ...READ MORE

answered Mar 31 in Linux Administration by MD
• 31,710 points
120 views
0 votes
1 answer

error: Putty.exe has been denied access to IP

Hi@akhtar, The error may occur because of firewall. Your ...READ MORE

answered May 28 in Linux Administration by MD
• 31,710 points
38 views