Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor

SSH RSAPUBKEY Authentication R80.40

Jump to solution

Hello,

I need to transfer files from a R80.30 Gateway to a R80.40 SmartCenter using SCP in a script without any user intervention. For this I generated id_rsa and id_rsa.pub files without a password. If I try the scp connection, it always asks me for a Passphrase.

[Expert@azurevmss002000003:0]# ssh admin@192.168.0.37
This system is for authorized use only.
Enter passphrase for key '/home/admin/.ssh/id_rsa':

 

SmartCenter:
chmod 600 /home/admin/.ssh/authorized_files on the SmartCenter
chmod 700 /home/admin/.ssh

Gateway:
chmod 600 /home/admin/.ssh/id_rsa
chmod 660 /home/admin/.ssh/id_rsa.pub

 

The Point is, it works fine with a R80.30 SmartCenter and the old SSHD, but in R80.40 the OpenSSHD Version 7.8.1 is used.

Does anybody succeeded to tranfers files from an older R80.30 Gateway to the new R80.40 SmartCenter.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor

 I could fix this by running the following command on the R80.30 gateway and I used these files instead. 

ssh-keygen -t rsa -b 4192

 

Before I had generated the id_rsa / id_rsa.pub files on the R80.40 SmartCenter and it seems that the old OpenSSHD on R80.30 can't handle these files properly.

So it's not a problem on R80.40, but rather an incompatibility between these OpenSSHD versions. 

View solution in original post

0 Kudos
1 Reply
Highlighted
Contributor

 I could fix this by running the following command on the R80.30 gateway and I used these files instead. 

ssh-keygen -t rsa -b 4192

 

Before I had generated the id_rsa / id_rsa.pub files on the R80.40 SmartCenter and it seems that the old OpenSSHD on R80.30 can't handle these files properly.

So it's not a problem on R80.40, but rather an incompatibility between these OpenSSHD versions. 

View solution in original post

0 Kudos