LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2004, 03:42 PM   #1
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Rep: Reputation: 30
What exactly is ssh???


Hi, just wondering, what exactly is ssh. Would I be able to use it to connect to my Gentoo server and update it?
 
Old 10-20-2004, 03:53 PM   #2
fenderman11111
Member
 
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
afraid to post, im gonna get beaten I'm sure

ssh is a remote shell login program (it gives you a bash prompt).

updating gentoo? uh... isn't that debian based? i don't remember. but with ssh you can do (basically) anything that you could do stitting at the actual computer (looking at a terminal of course, no X )

edit: wow I made it
 
Old 10-20-2004, 04:02 PM   #3
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Original Poster
Rep: Reputation: 30
No...Gentoo is source based...it isn't based on Debian at all. Anyways, thanks, I'll look up online how to get it set up once I get my server up and running.
 
Old 10-20-2004, 04:17 PM   #4
kh_ibrahim
LQ Newbie
 
Registered: Aug 2004
Location: Alexandria - Egypt
Distribution: Redhat, Fedora Core, SUSE
Posts: 18

Rep: Reputation: 0
As for the first part of your question:

ssh stands for secure shell, you can say that it is a secure version of telnet. ssh daemon usually runs on a linux box (or server) to allow other ssh clients to connect to the server.
A famous free ssh client on Windows OS is "putty", you can download it from http://www.chiark.greenend.org.uk/~sgtatham/putty/

If you are running linux, then you do not need to install an ssh client since it is usually installed with the default installation. All you need is to type "ssh user@remotehost" in your terminal (If it doesn't work then you probably donot have ssh client installed).

regards
-Khalid El-Gazzar
 
Old 10-20-2004, 04:49 PM   #5
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Original Poster
Rep: Reputation: 30
Alright, well, I just broke my Debian Unstable install on my server, but managed to save the data as it was on a different harddrive, so I am compiling Gentoo. Since I am doing this on a Pentium 3 500 MHz....it is taking quite a bit of time . I typed emerge system 3 hours ago and it is still going, I'll just check it in a couple more hours . So, when it is up a running, hopefully sometime this year , I will post back if I have any problems. Anyways, thank you for your input.

If my servers IP addy is 192.168.2.160 and the user is root...would I do it like this?

ssh root@192.168.2.160

or does it have to be a host name. Anyways, ttyl. Thanks again


Last edited by rm6990; 10-20-2004 at 04:52 PM.
 
Old 10-20-2004, 05:10 PM   #6
lesleyb
Member
 
Registered: Sep 2003
Distribution: Debian, OpenBSD 3.9 & 3.7
Posts: 79

Rep: Reputation: 17
type 'man ssh' and you will see :-

ssh (SSH client) is a program for logging into a remote machine and for
executing commands on a remote machine. It is intended to replace rlogin
and rsh, and provide secure encrypted communications between two
untrusted hosts over an insecure network. X11 connections and arbitrary
TCP/IP ports can also be forwarded over the secure channel.

'man sshd' will give you more info on running the daemon which you will need to do on your Gentoo box such as

" sshd (SSH Daemon) is the daemon program for ssh(1). Together these pro_
grams replace rlogin and rsh, and provide secure encrypted communications
between two untrusted hosts over an insecure network. The programs are
intended to be as easy to install and use as possible.

"

Source code and more info at http://www.openssh.com/

HTH

lesleyb
 
Old 10-21-2004, 04:07 AM   #7
kh_ibrahim
LQ Newbie
 
Registered: Aug 2004
Location: Alexandria - Egypt
Distribution: Redhat, Fedora Core, SUSE
Posts: 18

Rep: Reputation: 0
Quote:
Originally posted by rm6990
[If my servers IP addy is 192.168.2.160 and the user is root...would I do it like this?
ssh root@192.168.2.160
or does it have to be a host name. Anyways, ttyl. Thanks again [/B]
yes

ssh root@192.168.2.160
or
ssh 192.168.2.160 -l root

You can use the IP address or the hostname in both cases
 
Old 10-26-2004, 01:03 PM   #8
lesleyb
Member
 
Registered: Sep 2003
Distribution: Debian, OpenBSD 3.9 & 3.7
Posts: 79

Rep: Reputation: 17
I would advise against logging in as root over any network connection.

Not that ssh is insecure, just that it's not good practice.

Take a look at the sudo command ('man sudo') and the /etc/sudoers file ('man sudoers').
It's a bit of a pain in the neck to configure sudo access for the things you might need to run with rootly powers but it is safer.

Regards

lesleyb
 
  


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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 09:25 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
I turned off SSH, but I cant get it back! How do you start SSH on boot? nmoog Slackware 2 02-08-2004 05:18 PM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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