LinuxQuestions.org
Review your favorite Linux distribution.
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 09-02-2010, 11:53 AM   #1
Pricy
LQ Newbie
 
Registered: Sep 2010
Posts: 13

Rep: Reputation: 0
Help Setting up SSH


I just installed RH5.4 on a sun server and I need to connect to it via SSH from a Windows server using a serial connection. Can anyone tell me how to configure SSH to access the server?

What do I use for hostname and port #.

Do I also have to install SSH on the linux server?

Thanks a lot for your help guys!
 
Old 09-02-2010, 12:00 PM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
you need to install ssh package on linux and start ssh service.

you can use putty to connect ssh server from windows machine.

putty

Last edited by sem007; 09-02-2010 at 12:02 PM. Reason: add link
 
1 members found this post helpful.
Old 09-02-2010, 12:29 PM   #3
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
I believe, by default SSH package will be installed in RH 5.x system. You just want to start the service and enable it in chkconfig.
/etc/init.d/sshd start

chkconfig sshd on
You may use Putty to access the LINUX from WINDOWS. You will need to access the SSH through port 22 with the hostname or IP address of the linux server.
 
1 members found this post helpful.
Old 09-02-2010, 12:47 PM   #4
Pricy
LQ Newbie
 
Registered: Sep 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks Blue_print and Sem007.

When I do I run these commands. Sorry I am very new in Linux.
 
Old 09-02-2010, 01:01 PM   #5
Pricy
LQ Newbie
 
Registered: Sep 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you guys I found the terminal emulator.

Thanks for all your help.
 
Old 09-02-2010, 01:17 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
By serial connection are you using a dial up MODEM or connected by a serial cable.

Last edited by michaelk; 09-02-2010 at 01:18 PM.
 
Old 09-02-2010, 01:30 PM   #7
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
You can check your RHEL system and verify you have the package installed by opening a command prompt and typing:

Code:
[root@server ~]# service sshd status
sshd (pid 28104 5320 5318 5071 5069 1528) is running...
or check to see if it's even installed on your RHEL system:

Code:
[root@server ~]# rpm -qa | grep ssh
openssh-server-4.3p2-24.el5
openssh-4.3p2-24.el5
openssh-clients-4.3p2-24.el5
To start the service you can type:

Code:
[root@server ~]# service sshd start
Starting sshd:                                             [  OK  ]
 
  


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
setting up .ssh tostay2003 Linux - Networking 5 01-21-2008 11:12 AM
setting up an ssh soxy or local ssh tunnel from within an ssh soxy Mangenius Linux - Networking 0 03-05-2007 04:15 PM
setting up SSH Ryan450 Linux - Security 4 01-27-2005 01:36 AM
Need help setting up SSH Skunk_Face Linux - Security 15 01-31-2004 09:07 AM
setting up ssh emanners Linux - General 3 07-25-2001 02:55 PM


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