LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2010, 11:06 AM   #1
dev_d
LQ Newbie
 
Registered: Feb 2010
Location: Tempe, Arizona
Distribution: Ubuntu
Posts: 12

Rep: Reputation: 0
Passwordless SFTP between Unix box and Windows


Hello,

This is quite big a concern. Please pardon me. I have tried to make clear each and every bit. Please bear with me.

I have to establish password SFTP between one Unix box and Windows in which certain files will be pushed from unix to windows server. Our client is insisting on using TurboFTP on Windows for ssh daemon to run.

There are two components in TurboFTO- client and server.

1. I need help if I need to install both. As far as my knowledge with this software is considered, I dont think TurboFTP client to be running as the server componoent will itself run sshd.

2. Also, when I try to add server in TurboFTP server console, it provides me two options - local and remote server types. Local uses 3830 port by default and uses ip 127.0.0.1. If I use Remote server type which uses 3839 and I dont know what ip address to provide. I need help whether I shud go ahead with local server or remote server.

My doubt is if I consider local server type then whether my Unix box will be able to recognize if thie windows machine (which is also naving network specific ip address) has sshd running because windows has local server type enabled which uses 127.0.0.1.

No knowledge on Remote Server's ip address and its tunneling with my unix box.

Thanks
 
Old 03-29-2010, 11:59 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,831

Rep: Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984
Quote:
Originally Posted by dev_d View Post
Hello,

This is quite big a concern. Please pardon me. I have tried to make clear each and every bit. Please bear with me.

I have to establish password SFTP between one Unix box and Windows in which certain files will be pushed from unix to windows server. Our client is insisting on using TurboFTP on Windows for ssh daemon to run.

There are two components in TurboFTO- client and server.
No, TurboFTP only works on Windows. So if the Unix box is acting as the server, you won't be using TurboFTP on it. The Linux server needs only SSH set up and running, to be able to use SFTP.
Quote:
1. I need help if I need to install both. As far as my knowledge with this software is considered, I dont think TurboFTP client to be running as the server componoent will itself run sshd.
Again, you won't install TurboFTP on the Linux box, since it's Windows only.
Quote:
2. Also, when I try to add server in TurboFTP server console, it provides me two options - local and remote server types. Local uses 3830 port by default and uses ip 127.0.0.1. If I use Remote server type which uses 3839 and I dont know what ip address to provide. I need help whether I shud go ahead with local server or remote server.
How should we know what IP address?? TurboFTP is running on the Windows box....which would obviously be LOCAL to it. Remote would be ANOTHER SERVER on the network. Which would be the address of the Linux box. Use port 22, unless you've changed SSH on the linux box to be on a different port.
Quote:
My doubt is if I consider local server type then whether my Unix box will be able to recognize if thie windows machine (which is also naving network specific ip address) has sshd running because windows has local server type enabled which uses 127.0.0.1.
Look up the word "doubt" and the word "question"...they don't mean the same things. Very basic networking knowledge is knowing that localhost is always the machine you're on, and REMOTE is another address. Also, localhost is ALWAYS 127.0.0.1, for ANY machine, ANYWHERE.
Quote:
No knowledge on Remote Server's ip address and its tunneling with my unix box.
Thanks
Then you'd better figure it out. We can't help you with this, as it all depends on how the network is configured between the Windows and Linux boxes.
 
Old 03-31-2010, 06:32 AM   #3
dev_d
LQ Newbie
 
Registered: Feb 2010
Location: Tempe, Arizona
Distribution: Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
ATB0ne - I understand important points written by you.

Quote:
Originally Posted by TB0ne View Post
No, TurboFTP only works on Windows. So if the Unix box is acting as the server, you won't be using TurboFTP on it. The Linux server needs only SSH set up and running, to be able to use SFTP.

Again, you won't install TurboFTP on the Linux box, since it's Windows only.

I know I just have to install TurboFTP on windows. The thing is that TurboFTP software comes with two components - server and client to be installed on windows alone.

How should we know what IP address?? TurboFTP is running on the Windows box....which would obviously be LOCAL to it. Remote would be ANOTHER SERVER on the network. Which would be the address of the Linux box. Use port 22, unless you've changed SSH on the linux box to be on a different port.

Look up the word "doubt" and the word "question"...they don't mean the same things. Very basic networking knowledge is knowing that localhost is always the machine you're on, and REMOTE is another address. Also, localhost is ALWAYS 127.0.0.1, for ANY machine, ANYWHERE.

Then you'd better figure it out. We can't help you with this, as it all depends on how the network is configured between the Windows and Linux boxes.
And please forgive my vocabulary. I have put one comment on your first quote. I will first install only TurboFTP Server component on Windows. That software opens a GUI and by default it takes port 3830 and not 22. I tried with 22 but it didnt work. I will check by opening ports 3830 and 22 respectively. First I need to run sshd daemon on Windows. communication with Unix box is next step.

Thanks for your reply
 
Old 03-31-2010, 07:08 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,831

Rep: Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984Reputation: 6984
Quote:
Originally Posted by dev_d View Post
And please forgive my vocabulary. I have put one comment on your first quote. I will first install only TurboFTP Server component on Windows. That software opens a GUI and by default it takes port 3830 and not 22. I tried with 22 but it didnt work. I will check by opening ports 3830 and 22 respectively. First I need to run sshd daemon on Windows. communication with Unix box is next step.

Thanks for your reply
If you're trying to communicate between boxes, and you've got a client (TurboFTP) on Windows, you don't need an SSH SERVER on it, too. So if you want to use the TurboFTP client to connect to Linux, SSH daemon only needs to be running on Linux. You can edit the sshd_config file, to change the port # to something TurboFTP can use.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Getting error in ftp from windows to unix box sangeeta_linux Programming 5 03-18-2009 08:18 PM
Trouble transferring files from a Windows box to a UNIX box. BreakTheWindows2008 Linux - Software 4 08-15-2008 09:10 PM
[SOLVED] Can't telnet/ssh/sftp/scp to my ubuntu box rhimbo Ubuntu 1 11-07-2007 07:09 PM
Passwordless sftp to many remote hosts ahmad_abdulghany Linux - Networking 7 04-04-2007 06:18 PM
Passwordless File Sharing for Windows Clients - How can i do ? landuchi Linux - Networking 4 02-03-2005 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:15 PM.

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