Pragma Systems Technical Forum
Back
Login
Register
Login
Register
Home
»
Community
»
FortressSSH
»
public key authentication to another SSH server
public key authentication to another SSH server
Post Reply
Like
4
public key authentication to another SSH server
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Beth Redd
Beth Redd
posted 10 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 81,
Visits: 180
Hello,
You can force the client to use the id_dsa key by creating a client configuration file, config, in the users %APPDATA%\PragmaSSH directory with the following line
identityfile2=d:\data\debug\id_dsa
Beth Redd
Reply
Like
4
cpms
cpms
posted 10 Years Ago
ANSWER
Topic Details
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_
r
sa.pub"
Thank you very much for your help!
Samuel
Edited
10 Years Ago by
cpms
Reply
Like
4
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
4
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search