»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 04-09-2004, 12:47 PM   #1 (permalink)
Registered User
 
Join Date: Feb 2004
Posts: 8
XiLe is on a distinguished road
OpenSSH Problems

I'm running Mandrake 8.2 (yeah its pretty old since 10 is coming out but it works for me) I installed OpenSSH... I have been trying to locate the files to simply start it up.. could you tell me how to start it, and if there's anything else I need to know?

OpenSSH Install Information:

Packages openssh and openssh-server, both version 3.6.1p2-1.2.82mdk

XiLe is offline   Reply With Quote
Old 04-09-2004, 01:14 PM   #2 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
/etc/init.d/sshd start will start the service
There should be a gui tool to start it on boot, otherwise you will need to place an init script in your appropriate /etc/rcX.d directory, most likely 5
krohnjw is offline   Reply With Quote
Old 04-09-2004, 01:40 PM   #3 (permalink)
Registered User
 
flashingcurser's Avatar
 
Join Date: Jan 2002
Posts: 332
flashingcurser is on a distinguished road
It should be something like this:

/usr/bin/ssh username@the.ip.address.here -p ###portnumber


The -p switch can be left off if you use the standard port (22). If ssh is in your path then you will probably not need to put the /usr/bin in front of it.


flashingcurser is offline   Reply With Quote
Old 04-09-2004, 02:11 PM   #4 (permalink)
Registered User
 
Join Date: Feb 2004
Posts: 8
XiLe is on a distinguished road
Okay... I'm a linux noob lets put it that way... so in console I should type...

/usr/bin/ssh trevor@localhost

??? I tried that and I got the error:

bash: /usr/bin/ssh: no such file or directory
XiLe is offline   Reply With Quote
Old 04-09-2004, 02:13 PM   #5 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
did you install the ssh client?
If so it *should* be in your path.
To make an ssh connection just type
ssh username@hostname.of.server

You will need to have the ssh server runnign to make a connection though, if you are running on localhost then just make sure it is running
/etc/init.d/sshd start
krohnjw is offline   Reply With Quote
Old 04-09-2004, 02:31 PM   #6 (permalink)
Registered User
 
Join Date: Feb 2004
Posts: 8
XiLe is on a distinguished road
I'm trying to use the server... I didn't know there was an OpenSSH client too.

I did /etc/init.d/sshd start and got this error:

bash: /etc/init.d/sshd: bad interpreter: Permission denied
XiLe is offline   Reply With Quote
Old 04-09-2004, 02:40 PM   #7 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
It appears you are not root. You will need to be root to start the ssh server.
krohnjw is offline   Reply With Quote
Old 04-09-2004, 02:41 PM   #8 (permalink)
Registered User
 
Join Date: Feb 2004
Posts: 8
XiLe is on a distinguished road
Done... will it start on its own every time now? Or do I have to su in to start it every time i boot the machine?
XiLe is offline   Reply With Quote
Old 04-09-2004, 02:43 PM   #9 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
Well, it may. You should look at the GUI services tool and it will tell you.
You can do a quick check by running
ls /etc/rc5.d/ |grep ssh

If it returns an Sxx script, (where xx) are numbers it will start on boot.

You can substitue your favorite run level number for other runlevels, but I would imagine you are booting to 5.
krohnjw is offline   Reply With Quote
Old 04-09-2004, 02:49 PM   #10 (permalink)
Registered User
 
Join Date: Feb 2004
Posts: 8
XiLe is on a distinguished road
Nope... it didn't show up... oh well. I don't plan on rebooting this thing too often, and when I do su isn't that hard of a command to remember Thanks for your help
XiLe is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 08:09 PM.