Results 1 to 8 of 8
I am trying to setup a putty session to putty from one Ubuntu machine to another. I know how to setup to connect to the machine from Windows and I ...
- 05-15-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 4
[SOLVED] seting putty on Ubuntu
I am trying to setup a putty session to putty from one Ubuntu machine to another. I know how to setup to connect to the machine from Windows and I am using the same settings for the one I am trying on the Ubuntu machine but it fails to connect. It fails immediately so I believe that putty is not able to find ssh. Is there some configuring that I need to do.
- 05-15-2010 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
"PuTty" is a windows program, designed to replace
"ssh" "sftp" "telnet" and "ftp" under *nix. Suggest you
forget about it and use those other ones.the sun is new every day (heraclitus)
- 05-16-2010 #3Linux User
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 262
Putty is available for Linux (see site: PuTTY: a free telnet/ssh client. But I would agree you use a "putty" when Linux already has the real tools (xterm, ssh, scp, sftp, ftp, telnet, etc) not to mention GUI wrappers for ssh, ftp,sftp, etc).
So how to connect from on Linux machine to another Linux machine.
1) open a terminal session (xterm. konsole, terminal, gnome-terminal, terminal, Terminal, etc) which you have installed depends on you.
2) enter the command:
If the remote machine has the the GUI installed (does not have to be running, you can run gui tools and the display will be on your machine.Code:ssh -XY remoteusername@remotemachinenameoripaddress do what you want... exit at this point you are not longer connected the the remote machine exit
(of course the ssh (server and client) need to request and supply X forwarding (the client with -XY will request it.)
Not that there is lots of power in ssh configuration. See the man pages to learn more or google <Linux> - Google Search for more information on usages.
- 05-16-2010 #4Just Joined!
- Join Date
- May 2010
- Posts
- 4
I know how to use ssh to connect from Linux machine to Linux machine. I was just hoping to be able to use putty also.
- 05-16-2010 #5
Not something I'd do by choice, given the richness of the native ssh client, but it should work. I just installed putty from the fedora repo on this Fedora 12 laptop and can connect to a Fedora 12 server and a Centos 5 server with no problems, using default settings.
What settings are you tweaking from the defaults, and what if any errors do you get when it fails?
- 05-16-2010 #6Just Joined!
- Join Date
- May 2010
- Posts
- 4
Right now Im just putting in the host name and Im getting: Unable to open connection. Name or service not known. I know it should work because I am using the same settings as on my Windows machine also I am able to connect to the host with ssh. Also, it does not appear to try and connect as the message appears immediately instead of waiting as if trying to find the host.
- 05-16-2010 #7Just Joined!
- Join Date
- Dec 2008
- Posts
- 7
This sounds more like a name resolution problem then a ssh or putty problem. Try just putting in the IP address of the target machine. If this works, go to /etc/hosts and put in an entry for the target machine.
- 05-16-2010 #8Just Joined!
- Join Date
- May 2010
- Posts
- 4
I was able to get it to work. On Windows putty, I put in user@host and able to connect. On Linux, I needed to put in just host and place user in auto login username field.



