Asked By
Jerry B
100 points
N/A
Posted on - 04/28/2011
Hello,
I am looking on the most suitable software to communicate with a Linux box from a windows box.
My need is to be able to remotely connect to the Linux box, transfer files and execute shell scripts.
I tried using windows telnet commands with Linux but it does not support file transfer.
Are there any free tools out there that i can use?
Answered By
iRandom
0 points
N/A
#89378
How to communicate with a Linux box from a Windows box?
The best open source software that i can suggest is Putty. This software is a good SSH client (Secure Shell Client).
Putty is the most widely used software to communicate with Linux.
Its a simple program that simulates the Linux terminal and allows you to execute native Linux commands.
Putty is a command line based windows program and has no GUI. (why do you need a GUI for Linux anyway!)
As for file transfer you can use WinSCP. it is a secure shell ftp client that uses the SFTP protocol to transfer files.
It has a dual panel GUI that allows you to drag from a local folder to the remote folder.
How to communicate with a Linux box from a Windows box?
WinSCP is good, but i found it a bit un-stable.
I use an open source software called FileZilla. It has a windows version and it is pretty stable.Â
FileZilla supports many file transfer protocol formats such as FTP as well as SFTP. The interface is different to WinSCP. It has more or less like an explorer style navigational structure.
FileZilla supports tabbed connections, which means you can have simultaneous sessions running.
Regarding Linux terminal clients, i agree with IRandom.
Putty is the best!.
Answered By
Jerry B
100 points
N/A
#89380
How to communicate with a Linux box from a Windows box?
This Putty program looks real cool! Thank you iRandom.
I have another question in the same lines is there an option to connect a desktop application to the remote Linux box using Putty ?
I have a database browsing software.
I have MySQL running on the remote Linux box. I want to be able connect this application without opening up the MySQL port to the Internet. I hear it can be done with the SSH protocol.
Does Putty incorporate this feature?
If so please guide me on what I should do ?
Â
Â
Answered By
iRandom
0 points
N/A
#89383
How to communicate with a Linux box from a Windows box?
You can connect your database browser software to talk to the MySQL instance running on the Linux box.
The way you do it via SSH is to create a "tunnel". A tunnel is such that you map a local port on your computer and to a destination port of the computer that you are connected to.
You can do this using the "SSH >tunnels" section of Putty.
LOCAL PORT 3306 |
 |
PUTTY SSH TUNNEL
Rule: L3306 : D0.0.0.0:3306 |
 |
LINUX BOX 3306 |
-
Put 3306 as the Source port.
-
Put <IPADDRESS>:<PORT> in the Destination port
-
Press Add.
-
And then press apply.
Your tunnel is now active. All you have to do is to set the server name and port to localhost and 3306 respectively in the connection tab of your database browser software.
Â
Answered By
Jerry B
100 points
N/A
#89384
How to communicate with a Linux box from a Windows box?
iRandom.
Can you check if i had done it correctly?
Because i tried and it does not seem to work.
My database browser software says cannot connect to host.
Below is an image of the tunnels page in Putty
Answered By
iRandom
0 points
N/A
#89385
How to communicate with a Linux box from a Windows box?
Your settings seems perfectly fine!
I believe it *might" be your windows firewall check to see if you have opened port 3306 in your desktop machine.
Put the firewall exception rule and the tunnel should work!
Answered By
Jerry B
100 points
N/A
#89386
How to communicate with a Linux box from a Windows box?
Firewall was the problem!
I put the exception rule and now i am happily browsing the MySQL database from my own desktop.
THANK YOU GUYS !