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
504 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,830 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,000 points
20,604 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,000 points
199 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
73 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,374 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
185 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
1,351 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
• 4,680 points
18 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
• 9,450 points
20 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
218 views