LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 06-11-2010, 04:01 AM   #1
jeremy28
Member
 
Registered: Sep 2009
Posts: 48

Rep: Reputation: 15
How to use SSH(Secure Shell) Service in linux?


Hi all

I want to learn using SSH (Secure Shell) service in linux and connect to SSH server with PuTTY to test some commands, but I
have not worked with it yet;

I have Ubuntu 9.04 on my "Virtual Machine" and my host OS is Win.XP and I have installed "OpenSSH server" and "PuTTY" from the ubuntu repository,

Is this action rational?
I mean I want to connect from PuTTY on linux(on VM) to the SSH Server on linux?

(Meanwhile, I have no work with the host Windows and just wanna test it on the linux!)

If so, please tell me where should I see the "Host Name/Ip Address" of the SSH Server to enter in the PuTTy's dialog?
In windows we can use "ipconfig" command to see the IP Addresses, but I don't know what is the command in linx for this purpose?

Please help me with this to use SSH Service in ubuntu correctly, I'm so hurry?!!!

TIA
 
Old 06-11-2010, 04:37 AM   #2
spampig
Member
 
Registered: Feb 2010
Location: /Earth/UK/England/Hampshire
Distribution: Debian, Ubuntu, CentOS, Slackware
Posts: 262
Blog Entries: 2

Rep: Reputation: 56
PuTTY tends to be used on Windows to SSH to *nix boxes. If you are using *nix to *nix you would usually just use the command directly, like:

Quote:
ssh username@host_or_ip
But if you are using Win > Linux set PuTTY up to talk to the Linux host/ip.

HTH
 
Old 06-11-2010, 01:32 PM   #3
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Is this action rational?
Which act, jeremy28?

Repeatedly cross posting, despite being told not to?

Or yelling "I'm so hurry", despite being told it's rude?

Or failing to look up even the simplest questions (like this one), despite being able to find any number of excellent tutorials - probably some in your native language - in less time than it takes to write this post (or this post, or this post, or this post)?

Sigh...

Last edited by paulsm4; 06-11-2010 at 01:33 PM.
 
Old 06-12-2010, 03:02 AM   #4
jeremy28
Member
 
Registered: Sep 2009
Posts: 48

Original Poster
Rep: Reputation: 15
Excuse me for that dear paulsm4...
It won't be repeated, certainly!

Quote:
But if you are using Win > Linux set PuTTY up to talk to the Linux host/ip.
How could I gain Linux host/ip please?!
 
Old 06-12-2010, 03:15 AM   #5
spampig
Member
 
Registered: Feb 2010
Location: /Earth/UK/England/Hampshire
Distribution: Debian, Ubuntu, CentOS, Slackware
Posts: 262
Blog Entries: 2

Rep: Reputation: 56
On the Linux machine run:

Quote:
ifconfig -a
and look for 'inet addr:'
 
1 members found this post helpful.
Old 06-12-2010, 12:44 PM   #6
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by paulsm4
... less time than it takes to write this post (or this post, or this post, or this post)?
Or the exact same post on:
That's just the first page of google hits, BTW. And the thread was posted multiple times on each of those.
 
  


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
How to use SSH(Secure Shell) Service in linux? jeremy28 Linux - Security 4 06-11-2010 05:23 AM
How to use SSH(Secure Shell) Service in linux? jeremy28 Linux - Newbie 1 06-11-2010 04:03 AM
How to use SSH (Secure Shell Host) in RHEL. RMLinux Linux - Newbie 9 12-01-2008 09:02 PM
SSH (secure shell) software hanged shipon_97 Linux - Newbie 4 12-11-2007 09:33 AM
SSH Secure Shell 3.2.9 bglover3 Linux - Enterprise 1 06-21-2007 04:30 PM


All times are GMT -5. The time now is 08:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration