LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2011, 09:54 AM   #1
banksj
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
Linux on VM


I'm trying to use putty to login into my linux os created in VMware. When I try to ssh to the server from another server on the same subnet it works fine. It also works fine when logging in straight through VMware. I would appreciate some advice on logging into the server using putty, and not having to go on another server on the segment and sshing over.
 
Old 02-24-2011, 10:31 AM   #2
goodhombre
Member
 
Registered: Mar 2010
Location: Ungheni, Rep. Moldova
Distribution: Ubuntu
Posts: 89

Rep: Reputation: 22
Hi,

How to ssh using putty :
http://www.nacs.uci.edu/help/handouts/putty.html
 
Old 02-24-2011, 10:33 AM   #3
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
It sounds like you do not have any routing on the box. Do you have a default gateway?

Quote:
Originally Posted by goodhombre View Post
that is not useful, and does not relate to the question.
 
Old 02-24-2011, 12:52 PM   #4
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,631

Rep: Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696
putty

Agreement with ACID*. Issue is networking, not putty.

Not a VMWare player, but VBOX has options for NAT, local, or bridged networking. <br>
With bridged you can pick up an address using dhcp, etc, as if you were a stand-alone box on the network: making running of services and connection from external easier.<br>
With NAT you cannot easily connect to any services on the VM from external without setting forwarding rules on the host: nasty. Even more difficult with local networking only: really nasty.

Check your network settings and consider, the get back to us. We may be able to be more help.
 
Old 02-25-2011, 06:22 AM   #5
banksj
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
The networking is configured. I am able to ssh to other servers on the network from the linux vm. I modified all the necessary files:
/etc/hosts
/etc/defaultrouter
/etc/nsswitch.conf
/etc/resolv.conf
etc.

Any ideas? Should I talk with the networking team about a possible firewall issue? The only thing is when I create a Solaris machine I'm able to ssh into the server using putty with no issue.

Last edited by banksj; 02-25-2011 at 06:29 AM.
 
Old 02-25-2011, 06:32 AM   #6
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
"networking is configured" really isn't helpful. As above, do you have a suitable default route on the system?
 
  


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
Linux Training Tips - Boot Linux from a Linux Installation CD or a Linux Live CD to L beibei Linux - General 1 10-29-2009 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:22 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