You are not logged in.

#1 2011-08-18 23:14:22

royalpie717
Member
Registered: 2011-01-21
Posts: 4

[solved] I want to start an SSH server

I would like to know how to start an ssh server, so I read the ssh article on ArchWiki. I start the daemon, allowed myself as a user, I know my server-address, and then execute said command:

ssh -p port user@server-address

Nothing happens, nothing but a blinking cursor. My /etc/resolv.conf states that I have two nameservers, but the result is the same, nothing happens.

Last edited by royalpie717 (2011-08-19 07:43:11)

Offline

#2 2011-08-18 23:29:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] I want to start an SSH server

Ehmm... the "server-address" link you posted is about identifying the DNS servers you are using. In your ssh command, you need the address of the ssh server i.e. the computer that the ssh daemon is running on.

Offline

#3 2011-08-18 23:36:28

royalpie717
Member
Registered: 2011-01-21
Posts: 4

Re: [solved] I want to start an SSH server

tomk wrote:

Ehmm... the "server-address" link you posted is about identifying the DNS servers you are using. In your ssh command, you need the address of the ssh server i.e. the computer that the ssh daemon is running on.

Then how do I find the address of my ssh server?

Offline

#4 2011-08-18 23:49:17

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: [solved] I want to start an SSH server

Try typing:

ip addr show | sed -n 's/.*inet \([0-9.]*\).*/\1/p' | grep -v '127.0.0.1'

on the server. There's a good chance this will show the right ip address. (That's a guess.)

Offline

#5 2011-08-18 23:53:22

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [solved] I want to start an SSH server

royalpie717 wrote:

Then how do I find the address of my ssh server?

http://www.ipchicken.com

Offline

#6 2011-08-19 00:41:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] I want to start an SSH server

curl www.whatismyip.org

Offline

#7 2011-08-19 05:34:33

royalpie717
Member
Registered: 2011-01-21
Posts: 4

Re: [solved] I want to start an SSH server

frabjous wrote:

Try typing:

ip addr show | sed -n 's/.*inet \([0-9.]*\).*/\1/p' | grep -v '127.0.0.1'

on the server. There's a good chance this will show the right ip address. (That's a guess.)

It did, and now I can log into my machine, which I wanted to try out for months. Thanks.

Last edited by royalpie717 (2011-08-19 05:37:25)

Offline

Board footer

Powered by FluxBB