SSH2 Key based authentication & SCP2

Comprehensive Guide for SSH2 Key based authentication setup

Client: SSH Tectia Client 4.1.1 on Windows 2003
Server: OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

. Set SSH2="C:Program FilesSSH Communications SecuritySSH Secure Shell"
. Create a %SSH2CFG%  directory
. copy   <USERPROFILE>Application DataSSHHostkeys    &  Userkeys folders to  %SSH2CFG%.
. Copy   %SSH2%Identification    and   %SSH2%ssh2_config  to %SSH2CFG%.

Modify ssh2_config  file as below:
             AllowedAuthentications  publickey,keyboard-interactive,password

%SSH2%Scp2.exe -v -k  %SSH2CFG%   admin@*.gz  E:backup.

schedule the scp2 batch using system ID, and it is working.

btw, it is confirmed that if .ssh directory permission is assigned as “drwxrwxr-x” in Linux,  the Pubkey access will be denied. 

This entry was posted in Cert Topics. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s