Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

Solved it by amending the 

/etc/ssh/sshd_config 

PasswordAuthentication yes 

then re-started the service using 

sudo systemctl restart sshd
Comment

permission denied (publickey gssapi-keyex gssapi-with-mic) ec2

This issue usually occurs when you are trying to ssh outside of the folder you downloaded your .pem files on.
Therefore in order to resolve this you have to make sure that on your terminal, 
you first "cd" to the directory where your .pem files are located, then verify their existence there 
by using the ls command, if they are there you can then proceed to run the  ssh -i XXXX XXXXXXX command.

Hopefully this answers your question.

Thanks.

Comment

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

fixing EC2 instance
Comment

ec2 Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

For AWS EC2 instance with centos Linux make sure you're using the righr User
Comment

PREVIOUS NEXT
Code Example
Shell :: pg_hba.conf location ubuntu 18.04 
Shell :: bash loop 
Shell :: installing zsh oh my zsh wsl 
Shell :: ip config ubuntu 
Shell :: how to tar linux 
Shell :: how to make wsl backup 
Shell :: ubuntu install jdk 14 
Shell :: difference between shell and terminal 
Shell :: batch loop through folders in a directory 
Shell :: add pwd to path linux 
Shell :: django load data 
Shell :: generate a random password bash 
Shell :: How to undo a pushed merge 
Shell :: View the List of Installed Programs cmd 
Shell :: xclip does not work 
Shell :: ffprobe find video codec 
Shell :: how to push to heroku 
Shell :: git command line see log 
Shell :: linux folder size 
Shell :: mkdir create if not exists 
Shell :: bash try catch 
Shell :: InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files. 
Shell :: git blame before specific commit 
Shell :: djanog shell change password 
Shell :: git bash set global username and password 
Shell :: where is global config file for git 
Shell :: Unable to create directory wp-content/uploads/. Is its parent directory writable by the server? 
Shell :: multiple git stashes 
Shell :: install screenshot linux 
Shell :: foreach powershell 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =