The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-08-2008
girish.batra girish.batra is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 70
problem in making autossh between windows and solaris

Dear all

I am facing one problem which is related to enabling Autossh between windows and solaris machine. If suppose their are two servers, server A is having windows and server B is having Solaris.I install openssh server software for windows through sourceforge.net site. What my requirement is doing sftp from solaris to windows to transfer files from solaris to windows automatically through autossh without needing a password and it has to be done through root user. Firstly I created a Public/ private key pairs on solaris machine with giving blank password for passphrase , I use RSA1 algorithms which create identity and identity.pub file in /.ssh directory of the root user on solaris machine. Then I manually sftp the identity.pub file to /home/root/.ssh directory on windows server. I then I rename it to authorized_keys file.
After all this, when I log into solaris server as a root user then I sftp too windows as a root user, at that time it ask for the password also again.
Please tell me where I wen’t wrong. I Badly need a solution where it should not ask for the password of the root user on windows machine.

Kind regards