LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help Setting up SSH (https://www.linuxquestions.org/questions/linux-newbie-8/help-setting-up-ssh-829964/)

Pricy 09-02-2010 10:53 AM

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!

sem007 09-02-2010 11:00 AM

you need to install ssh package on linux and start ssh service.

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

putty

blue_print 09-02-2010 11:29 AM

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.

Pricy 09-02-2010 11:47 AM

Thanks Blue_print and Sem007.

When I do I run these commands. Sorry I am very new in Linux.

Pricy 09-02-2010 12:01 PM

Thank you guys I found the terminal emulator.

Thanks for all your help.

michaelk 09-02-2010 12:17 PM

By serial connection are you using a dial up MODEM or connected by a serial cable.

carlosinfl 09-02-2010 12:30 PM

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  ]



All times are GMT -5. The time now is 09:00 AM.