![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solaris 10 /proc making filesystem full | run_time_error | SUN Solaris | 18 | 06-10-2009 10:25 PM |
| Windows / Open Solaris dual boot problem. | syndex | SUN Solaris | 2 | 05-13-2008 09:10 AM |
| Making a new OS based on Solaris / OpenSolaris | Dinolinux | What's on Your Mind? | 1 | 01-24-2006 07:55 PM |
| DDD making problem | azazel11998 | High Level Programming | 0 | 03-10-2005 07:10 AM |
| Making Mozilla Playing M$ Windows Media | Dmitri-br | Linux | 2 | 02-19-2004 10:58 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
|
||||
|
I triend what you said to me and after uncomenting
RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys start the openssh service in windows but still i cann't able to do autossh between solaris 10 and windows as it still ask me for the password. after these changes even i tried to regenerate public and private keys again even then i still cann't able to do autossh. I am showing the content of sshd_config file of windows as my requirement is to do sftp from solaris to window (openssh server) # $OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin # The strategy used for options in the default sshd_config shipped with # OpenSSH is to specify options with their default value where # possible, but leave them commented. Uncommented options change a # default value. #Port 22 #Protocol 2,1 Protocol 2,1 #ListenAddress 0.0.0.0 #ListenAddress :: # HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 #HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key # Lifetime and size of ephemeral version 1 server key #KeyRegenerationInterval 1h #ServerKeyBits 768 # Logging #obsoletes QuietMode and FascistLogging #SyslogFacility AUTH #LogLevel INFO # Authentication: #LoginGraceTime 2m PermitRootLogin yes # The following setting overrides permission checks on host key files # and directories. For security reasons set this to "yes" when running # NT/W2K, NTFS and CYGWIN=ntsec. StrictModes yes RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts #RhostsRSAAuthentication no # similar for protocol version 2 # HostbasedAuthentication no # Change to yes if you don't trust ~/.ssh/known_hosts for # RhostsRSAAuthentication and HostbasedAuthentication IgnoreUserKnownHosts yes # Don't read the user's ~/.rhosts and ~/.shosts files #IgnoreRhosts yes # To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes #PermitEmptyPasswords no # Change to no to disable s/key passwords #ChallengeResponseAuthentication yes # Kerberos options #KerberosAuthentication no #KerberosOrLocalPasswd yes #KerberosTicketCleanup yes # GSSAPI options #GSSAPIAuthentication no #GSSAPICleanupCreds yes # Set this to 'yes' to enable PAM authentication (via challenge-response) # and session processing. Depending on your PAM configuration, this may # bypass the setting of 'PasswordAuthentication' #UsePAM yes #AllowTcpForwarding yes #GatewayPorts no #X11Forwarding no #X11DisplayOffset 10 #X11UseLocalhost yes #PrintMotd yes #PrintLastLog yes #KeepAlive yes #UseLogin no UsePrivilegeSeparation no #PermitUserEnvironment no #Compression yes #ClientAliveInterval 0 #ClientAliveCountMax 3 #UseDNS yes #PidFile /var/run/sshd.pid MaxStartups 10:30:60 # default banner path Banner /etc/banner.txt # override default of no subsystems Subsystem sftp /usr/sbin/sftp-server Is there any modification has to done in this sshd_config file then plz let me know |
|
||||
|
please make changes into your solaris sshd_config
And restart sshd once more on the solaris server.
I mean to say to need to change in the sshd server file on the solaris server. try ur luck man ![]() Plus use this url to search more on it <Linux> - Google Search will help to find you some near answar. |
|
||||
|
Might be a permission problem, I know I had to do a "chmod 700" on the .ssh folder with FreeBSD
|
| Sponsored Links | ||
|
|