SSH2 Key based authentication & SCP2


Comprehensive Guide for SSH2 Key based authentication setup  http://www.thegeekstuff.com/2008/06/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@192.168.1.4:adminhome*.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. 

Advertisements
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:

WordPress.com Logo

You are commenting using your WordPress.com 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