LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-05-2010, 02:59 PM   #1
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Rep: Reputation: 32
need help setting up ssh from Linux/Unix to Windows


Has anyone set up a paswordless sftp from a Linux or Unix (AIX) system to a Windows system?

We have tried several things authorized_keys etc. and keep getting an error.

I am just looking for a HOW To on this. i ready several articles and I get get UNIX to UNIX , Linux to Linux and Linux to Unix etc. working but not Windows...

Any help would be great. Thanx

sorry I think i double posted this...

Last edited by unix1adm; 04-05-2010 at 03:02 PM.
 
Old 04-05-2010, 03:10 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
an error?? what error? We aren't psychic. What SSH server are you running on windows?? If you expect to get helop, you need to try harder to provide people with a decent amount of information.
 
Old 04-06-2010, 06:29 AM   #3
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by acid_kewpie View Post
an error?? what error? We aren't psychic. What SSH server are you running on windows?? If you expect to get helop, you need to try harder to provide people with a decent amount of information.
Sorry I was in a hurry when i posted this. Just looking for a general how to if someone had one.

Here is what we get.

as for the windows side I believe its a mozilla sftp server they set up. Out of my control. I just do the Linux/Unix side.

$sftp myuser@windowssvr-new
Connecting to windowssvr-new...
Permission denied (publickey).
Connection closed


I sent them my public key
the communication has to be from Linux and Unix to windows no incoming traffic to linux and Unix.
 
Old 04-06-2010, 01:05 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you need to be talking to the server admin, if it's not you. It's certainly not us.
 
Old 04-06-2010, 01:21 PM   #5
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
Quote:
Originally Posted by unix1adm View Post
as for the windows side I believe its a mozilla sftp server they set up. Out of my control. I just do the Linux/Unix side.
Do Mozilla even make an SFTP server - FileZilla doesn't support it, is there another Mozilla FTP server? Either way, I am with acid_kewpie on this - if you are not responsible for the server, and you have no problems connecting to other SFTP servers, it does kind of imply that that the problem is at their end (not sure you can convince them of that though).

Last edited by nonamenobody; 04-06-2010 at 01:24 PM.
 
Old 04-08-2010, 06:42 AM   #6
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
I am working with the server admin. We were able to get the keys to work coming into L/Unix but not going out to windows.

i could be wrong on the sftp server name. I thought he said was it was Mozilla. I will check that. But it should all be the same as its ssh, standard protocol

I will see if i can find a windows forum. I just thought someone here might have tried to do this from L/Unix.
 
Old 04-13-2010, 07:27 AM   #7
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
still working on this. had to take some time off it. But we are still looking for a solution.
 
Old 04-14-2010, 12:39 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well you've still not even told us the name of the SFTP server. Do you honestly expect us to be able to tell you how to configure something, when we don't even know what it is?
 
Old 04-21-2010, 07:43 AM   #9
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by acid_kewpie View Post
Well you've still not even told us the name of the SFTP server. Do you honestly expect us to be able to tell you how to configure something, when we don't even know what it is?
why would i disclose my internal sftp server name on an open forum. That is not relevant to this. should not mater the name of the system process is all the same.

I resolved this at any rate.
 
Old 04-21-2010, 08:00 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by unix1adm View Post
why would i disclose my internal sftp server name on an open forum. That is not relevant to this. should not mater the name of the system process is all the same.

I resolved this at any rate.
Why wouldn't you? In order to provide aid in diagnosis you need to provide requested information so we can assimilate the information to form the means to solve the issue. Knowing the process you are using will not allow us to break or crack the system. Proper admin would prevent someone from cracking a system anyway. If your that paranoid then why come to a open forum with problems or questions? Close the door with good IT or Tech support.

BTW, 'jeremy' had us send back the crystal balls since most were cracked in shipment therefore causing false readings. So we need information in order to aid whoever presents queries.

 
Old 04-21-2010, 12:45 PM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by unix1adm View Post
why would i disclose my internal sftp server name on an open forum. That is not relevant to this. should not mater the name of the system process is all the same.

I resolved this at any rate.
From your username, I'm given to assume you're already a unix admin? Blimey....
 
Old 05-10-2010, 02:15 PM   #12
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by onebuck View Post
Hi,



Why wouldn't you? In order to provide aid in diagnosis you need to provide requested information so we can assimilate the information to form the means to solve the issue. Knowing the process you are using will not allow us to break or crack the system. Proper admin would prevent someone from cracking a system anyway. If your that paranoid then why come to a open forum with problems or questions? Close the door with good IT or Tech support.

BTW, 'jeremy' had us send back the crystal balls since most were cracked in shipment therefore causing false readings. So we need information in order to aid whoever presents queries.

I agree with some of what you say but a name and ip are arbitrary. yes it is behind a firewall and secure.

ask for specific info related to the process and I provide it to people just sensor out names and ip for accounts as many people i have seen do. This does not change the resolution path to the problem.

If it make you feel better we can call it goofie.

I come here because a lot of people here have helped me out and have a great wealth of knowledge. Not to get flamed for something that is irrelevant. I appreciate everyone's help here that has offered it. I have tried to post my own solutions in the hopes it would help someone else too.

This is a great community and lots of helpful/nice people here.
 
Old 05-10-2010, 02:15 PM   #13
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by acid_kewpie View Post
From your username, I'm given to assume you're already a unix admin? Blimey....
yes I do UNIX and am coming up to speed on Linux. A bit different with all the varieties around.
 
Old 05-10-2010, 02:43 PM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You just don't seem to understand the question that everyone else here is asking you... what IS the sftp server? You seem to be saying in your example, that this is Goofie SFTP. Now I've not ever heard of Goofie SFTP, there's no website for Goofie Software Ltd., and so I can't find out any information about how the Goofie SFTP server works in order to help you. If you were using OpenSSH then I know OpenSSH, so maybe I could help.
 
Old 05-10-2010, 03:46 PM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by unix1adm View Post
yes I do UNIX and am coming up to speed on Linux. A bit different with all the varieties around.
Yeah, but it's not bad. Aside from some small variations (like zypper for SuSE vs. yum for Fedora/RedHat distros), they're all pretty much the same. And we're not asking for your box name/address/etc., but what SOFTWARE you're running.

That said, chances are you're using openSSH/openSSL on your Linux box. What version/distro of Linux? Are you running SElinux on it? Do you have IPtables running, and blocking port 22? Easy way to test, is to try to SSH from the *nix box in question, to another *nix box. If you can get it, then you know the ports are open, and things are going. It then boils down to a Windows problem, really. SSH is a standard protocol, and if you can connect to other boxes, but not the Windows box, that narrows down what's up. I've seen issues before with the SSH server not liking something, but if (as you said), you're not responsible for the Windows side, then it's a non-issue for you. Go to the Windows team, and tell them to fix it. If they complain, point out the fact that all *nix-to-*nix SSH/SFTP sessions are working just fine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use ssh via Windows Service for Unix PhillipHuang General 4 11-25-2008 11:45 PM
LXer: Speaking UNIX, Part 4: Setting and managing permissions on UNIX LXer Syndicated Linux News 0 10-21-2006 01:54 AM
LXer: Tunneling with SSH: Windows to UNIX connectivity in a secure world LXer Syndicated Linux News 0 10-20-2006 02:21 AM
Help setting up an X server and SSH on windows scrupul0us General 12 08-07-2006 02:13 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration