Having an SSH moment :( Can anyone off a quick hand?

Soldato
Joined
9 May 2003
Posts
3,062
Location
Midlands
Firstly I have tried google but I'm not finding what I need :(

Ok, all's I want to do is SSH onto my webserver and I'm having trouble :confused: Stupid I know. Between the linux/osx commands I'm all a bit wtf? I use SSH on my mac like once every few months tops and the commands have escaped me somewhat.

Here is what I thought it was :p

1) ssh -U [email protected]:port number

Since then i've tried:

2) ssh -U username www.domain.com:port number
3) ssh domain.com:port number -U username
4) all of the above with lowercase "u" and also "l" in place of the "u" since I found that on a site :D

Someone please put me out of my misery.
 
man ssh -> man page detailing all the info you require :p (smartass-smilie)

Does that work on a mac too :o You wouldn't guess I use linux quite a bit would ya :D

*goes off to use man pages*



EDIT: ok, so now i'm told pretty much to do the following:

ssh -l username@domain -p portnumber

Doesn't work. It just gives me a list of options as if it as incomplete command :confused: ok I'm officially crap and am on the verge of firing up my VM windows box to run putty :p
 
Last edited:
Well it seems that OSX wins this round, although I did find a nice app called "winebottler". It has just allowed me to wrap up putty in a wine bottle and now I can run it with a double click like in windows :)

I'd still be interested to know how it works on the mac though if someone has a moment to spare :) Thanks in advance anyone!
 
is it not simply:

ssh username@server

then enter your password?

if it not on port 22 then just:

ssh username@server -p portnumber

e.g. ssh [email protected] -p 3568

I'm kinda thinking i've missed something since I'm really new to ssh and surely I haven't been able to correctly answer a question for somebody just yet :p
 
:eek::eek::eek::eek:

I decided to use up all of the smiley allowance in this reply to express my shock...........you cracked it. Awesome. Thanks very much.

As for being new to this you're either the only one on OCUk that actually knew, or, the only one that could be bothered to lend a helping hand. Either way, greatly appreciated. Thanks very much. Oh and I saved a smiley for you. -----> :)
 
:eek::eek::eek::eek:

I decided to use up all of the smiley allowance in this reply to express my shock...........you cracked it. Awesome. Thanks very much.

As for being new to this you're either the only one on OCUk that actually knew, or, the only one that could be bothered to lend a helping hand. Either way, greatly appreciated. Thanks very much. Oh and I saved a smiley for you. -----> :)

I've only just seen this thread :o. I'd have posted pretty much what Mugen said. :)
 
Back
Top Bottom