Sponsored Content
Top Forums UNIX for Advanced & Expert Users problem in making autossh between windows and solaris Post 302165608 by andryk on Friday 8th of February 2008 09:31:18 AM
Old 02-08-2008
Quote:
Originally Posted by girish.batra
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
Hi,
Most of the time, public key authentication is disabled by default (at least on most unix distrib) look for the config file of sshd (sshd_config hopefully) on your windows system then uncomment if needed the 3 lines related to public key authentication (RSAAuthentication yes, PubkeyAuthentication yes, etc ...)
Second, make sure you put the authorization keyfile in the right directory on unix its easy, its under the ".ssh" directory, on windows you should have a .ssh directory too on the root of your primary drive but im not really sure ...
Restart the sshd service on your windows and reconnect again, i hope that would do the trick Smilie
 

8 More Discussions You Might Find Interesting

1. Linux

Making Mozilla Playing M$ Windows Media

Please, Anybody knows how can i configure Mozilla Browser to play M$ Windows Media in Linux?? I know konqueror can be set to play *.ASF or *.ASX files with the kmplayer application. But Mozilla doesn't give me the option to choose an expecifc application to play this files. Is there any file in... (2 Replies)
Discussion started by: Dmitri-br
2 Replies

2. Programming

DDD making problem

Hi Everybody, I am trying to make the ddd-3.3.9 debugger. I installed all dependencies. this is what i get: # make Making all in themes make: Entering directory `/space/atoulan/ddd-3.3.9/themes' make: Nothing to be done for `all'. make: Leaving directory... (0 Replies)
Discussion started by: azazel11998
0 Replies

3. What is on Your Mind?

Making a new OS based on Solaris / OpenSolaris

Hi I'm planning on making a OS based on the Solaris kernel. And I would like to know what you think about this idea or want to contribute. I'm planning on modifying the current Solaris kernel and adding more drivers to it and making it work better on x86. This project will be completely open... (1 Reply)
Discussion started by: Dinolinux
1 Replies

4. Solaris

Windows / Open Solaris dual boot problem.

Okay, let me sketch the problem. I did have a ubuntu / Windows XP dual boot scenario that ran grub as my boot loader. I decided I wanted to try out solaris, so I popped in the opensolaris CD and hit install and told it to format and install over my linux partition. Of course it did that, and... (2 Replies)
Discussion started by: syndex
2 Replies

5. Shell Programming and Scripting

Problem in making itration

Hi, I have a file which keeps on appending the data continuously, i that i am looking for a particular pattern, if i dont find that pattern i want to wait for 30 seconds to check it again. can we use it like this ----------------------------- until do cat $line |... (1 Reply)
Discussion started by: Prateek007
1 Replies

6. Solaris

Problem in File/Dir sharing between a windows and solaris

Hi , We are trying to share a particular directory between solaris running from VMware installed on Win7 box] and windows box. We tried the SWAT utility of samba, and made all possible changes for sharing. We committed the changes and we were clueless what need to be done further.. referred... (0 Replies)
Discussion started by: BalajiUthira
0 Replies

7. Solaris

installation problem solaris,windows,suse on same machine

Hi all, Previously I had both opensuse 11.3 and Windows XP SP2 on my PC, there was no problem at all.I was able to access all documents in Windows from opensuse. Now when I wanted to install solaris 10 on the same machine there were 2 problems ... 1. Windows is not accessible from solaris... (3 Replies)
Discussion started by: M.Choudhury
3 Replies

8. Solaris

Problem: Solaris 10 to Windows XP Connectivity

:wall: Hello Solaris Users. Although a fundamental skill I am still new to connecting computers together in order that they can see each other, ie. via ping-ing of IP's and/or hostnames. I wish to install Oracle 10g database on Sun Blade 1500 and access this from Windows XP laptop (running... (5 Replies)
Discussion started by: patcom
5 Replies
sftp-server(1M)                                           System Administration Commands                                           sftp-server(1M)

NAME
sftp-server - SFTP server subsystem SYNOPSIS
/usr/lib/ssh/sftp-server DESCRIPTION
sftp-server implements the server side of the SSH File Transfer Protocol as defined in the IETF draft-ietf-secsh-filexfer. sftp-server is a subsystem for sshd(1M) and must not be run directly. There are no options or config settings. To enable the sftp-server subsystem for sshd add the following to /etc/ssh/sshd_config: Subsystem sftp /usr/lib/ssh/sftp-server See sshd_config(4) for a description of the format and contents of that file. There is no relationship between the protocol used by sftp-server and the FTP protocol (RFC 959) provided by in.ftpd. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/usr/lib/sftp-server ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsshdu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
sftp(1), ssh(1), ssh-add(1), ssh-keygen(1), sshd(1M), sshd_config(4), attributes(5) To view license terms, attribution, and copyright for OpenSSH, the default path is /var/sadm/pkg/SUNWsshdr/install/copyright. If the Solaris operating environment has been installed anywhere other than the default, modify the given path to access the file at the installed location. AUTHOR
Markus Friedl SunOS 5.10 30 Jul 2003 sftp-server(1M)
All times are GMT -4. The time now is 01:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy