LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 10: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, 11:31 AM   #2
goodhombre
Member
 
Registered: Mar 2010
Location: Ungheni, Rep. Moldova
Distribution: Ubuntu
Posts: 82

Rep: Reputation: 20
Hi,

How to ssh using putty :
http://www.nacs.uci.edu/help/handouts/putty.html
 
Old 02-24-2011, 11:33 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 01:52 PM   #4
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 1,795

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
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, 07: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 07:29 AM.
 
Old 02-25-2011, 07:32 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
"networking is configured" really isn't helpful. As above, do you have a suitable default route on the system?
 
  


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


All times are GMT -5. The time now is 03:41 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration