public key authentication to another SSH server


Author
Message
cpms
cpms
Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)
Group: Forum Members
Posts: 1, Visits: 8
Hello Pragma staff,

Our server is a Windows 2008 R2 server using Pragma SFTP client.

1. What is the default location of the key files? is this the folder?
C:\Users\<user>\AppData\Roaming\PragmaSSH

2. Since we are migrating from an existing server to this new server, We tried to replace the files (id_dsa, id_dsa.pub, id_rsa, id_rsa.pub) with the files from old server.

However, when we try to connect to another SSH_SERVER_1 (which is a Unix server using Openssh server), password is prompted. In the old server, public key authentication was setup before and no password is required to connect. After further testing, it works passwordless if we connect using this command
sftp -i "C:\Users\<user>\AppData\Roaming\PragmaSSH\id_rsa.pub" xxx@SSH_SERVER_1


What is the cause of it? Is there any option such that "-i id_rsa.pub" is not provided?

Note:
We successfully connect to SSH_SERVER_2 (which is a window server using Tectia SSH server) without providing a password using
sftp xxx@SSH_SERVER_2
or
sftp -i "C:\Users\<user>\AppData\Roaming\PragmaSSH\id_dsa.pub" xxx@SSH_SERVER_2

However please note that we cannot add "-i id_rsa.pub" in all scripts, this is because we failed to connect to SSH_SERVER_2 passwordless with "-i id_rsa.pub"

Thank you very much for your help!

Samuel

Edited 10 Years Ago by cpms
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search