Jump to content
xisto Community
kanade

Access Linux Box From Windows Machine- Putty Tool

Recommended Posts

Most of the guys want to access Linux box from Windows machine just to do some programming on the command line. The "Putty Tool" is the solution for this. Just google for "Putty" and download this small package(less then 1MB) and keep it on your desktop. Just you need to configure the linux machine IP on this Putty tool and connect to Linux machine.If you face any problem in configuring Linux IP, then let me know, i will help you out.If you think this is help full, please rate this.

Share this post


Link to post
Share on other sites

So basically, if you want to control linux, get Putty? Yes, its a good ssh client, but you need an ssh account on what is probably going to be a unix server.

Share this post


Link to post
Share on other sites

you basicaly need to do a few more things to get it working. It seems logic, but the ssh daemon must be running on the linux box, but something not everybody thinks about is opening the right ports on the firewall. If you forget to open this port (tcp port 22) then you won't get any connection to the box :( .

Share this post


Link to post
Share on other sites

Guys:

I have a mac computer ( which is my host machine). I am running a vm Fusion with a Linux operating system on the host machine.

I was able to allow the host machine communicate effectively via ssh on the terminal on the host machine with MV linux box.

Now, I have a laptop running on windows. I downloaded putty on it. How do I establish a communication through putty on my windows box to access my VM linux box in my Mac ( the machine hosting my VM)?

Please help?

Thanks!




Most of the guys want to access Linux box from Windows machine just to do some programming on the command line. The "Putty Tool" is the solution for this. Just google for "Putty" and download this small package(less then 1MB) and keep it on your desktop.
Just you need to configure the linux machine IP on this Putty tool and connect to Linux machine.

If you face any problem in configuring Linux IP, then let me know, i will help you out.


If you think this is help full, please rate this.


Share this post


Link to post
Share on other sites

First of all, check all your communication lines. So, from your vm Fusion machine, send a "ping" to your Windows machine. If the ping is successful, this means that your communication protocols are correct. if the "ping" is not successful, that means that your logical or physical network has a problem, or your Windows firewall stopps the ping.Secondlyl, on your windows machine, start putty. In the box below "Host Name or Ip address", enter the IP address of your Linux system.The rest is rather straightforward, or come back here after having done the present steps.

Share this post


Link to post
Share on other sites

what I did was I login in as a root user from my virutal machine linux box. On the terminal I issued the ifconfig command. I note down the ip address of my virtual machine linux box. I also enable communication for port 22 on the virtual machine linux box.

On my windows xp box, I downloaded putty. The box field that requires a host or ip address I input the ip address I noted on my virtual machine linux box and the rest is history.

I am guessing it works fine because all of the machines are on the same networks.

Let say, the windows xp box is on a totally different network --- for instance the windows xp box is located at your office on a different network from the virtual machine linux box at my home. how do I establish a communication?


Please Help!!



First of all, check all your communication lines. So, from your vm Fusion machine, send a "ping" to your Windows machine. If the ping is successful, this means that your communication protocols are correct. if the "ping" is not successful, that means that your logical or physical network has a problem, or your Windows firewall stopps the ping.Secondlyl, on your windows machine, start putty. In the box below "Host Name or Ip address", enter the IP address of your Linux system.
The rest is rather straightforward, or come back here after having done the present steps.


Share this post


Link to post
Share on other sites

what I did was I login in as a root user from my virutal machine linux box. On the terminal I issued the ifconfig command. I note down the ip address of my virtual machine linux box. I also enable communication for port 22 on the virtual machine linux box.
On my windows xp box, I downloaded putty. The box field that requires a host or ip address I input the ip address I noted on my virtual machine linux box and the rest is history.

I am guessing it works fine because all of the machines are on the same networks.

Let say, the windows xp box is on a totally different network --- for instance the windows xp box is located at your office on a different network from the virtual machine linux box at my home. how do I establish a communication?


Please Help!!

now you have the IP address of each machine, from each machine issue "ping ipaddress", where "ipeaddress" is the IP address of the other one.
If the ping is successful, you can try ssh or telnet using putty.
If the two machines are on two separate networks, try pinging again. If you are unlucky, the "ping" will not be successful because each system does not know the route to the other one.
In that latter case, there are some external sites, like noip.com, which help you giving a worldwide name, like "fnich88.ftp.com" to one system and "myremote.ftpserver" to the other ones, and then same thing, try "ping myremote.ftpserver" to verify that there is no firewall stopping you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.