I'm trying to log into PSFTP (Putty SFTP) and I'm able to login only using default username 'centos'. How do I login with different username?
C:\SMS\Putty>psftp sample (sample is the saved session in my putty which contains hostname and private key)
login as: centos
Remote working directory is /home/centos
psftp>
Connection is successful.
Now with different username(other than default i.e., centos) I'm getting below error.
C:\SMS\Putty>psftp sample
(sample is the saved session in my putty which contains hostname and private key)
Error:
Using username "ashuthi".
Server refused our key
Fatal: Disconnected: No supported authentication methods available (server sent:
publickey,gssapi-keyex,gssapi-with-mic)
0
votes
Welcome to Stack Overflow! Please move your question to Super User. It's off-topic here.
- Martin Prikryl