Jump to content



Photo
- - - - -

Problem Setting Up Local Ssh Server

ssh server

  • Please log in to reply
3 replies to this topic

#1 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 09 February 2013 - 01:36 PM

I am trying to setup one of my linux computers as an ssh server but I can't connect to it.

I have openssh-server and openssh-client installed already on both computers (client and server).

If I run sudo service ssh start, I get start: Job is already running: ssh, so ssh is indeed running. Also, ps aux | grep -i ssh returns

1000	 2270 0.0 0.0 4080 24 ?	 Ss 06:04 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session mate-session
1000	 2286 0.0 0.3 59104 7832 ?	 Sl 06:04 0:00 /usr/bin/mate-keyring-daemon --start --components=ssh
1000	 6333 0.0 0.0 6684 1132 ?	 Ss 07:29 0:00 /usr/sbin/sshd
root	 12622 0.0 0.1 6684 2432 ?	 Ss 08:09 0:00 /usr/sbin/sshd -D
1000	 13978 0.0 0.0 4392 844 pts/0 S+ 08:33 0:00 grep --color=auto -i ssh

If I run ssh localhost on the server, I can connect. But if I try that with the other computer on the lan, it doesn't work.

I have samba shares setup and working, so I don't think its a firewall problem.

Any help would be appreciated.
EDIT:
Ok, got it to work, just had to connect to username@ipaddress instead of localhost.

#2 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 17 February 2013 - 05:39 PM

Run nmap on the server both locally, and from the computer you are try to connect from, the post the output.

#3 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 17 February 2013 - 07:59 PM

EDIT:
Ok, got it to work, just had to connect to username@ipaddress instead of localhost.


Thanks though :)

#4 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 21 February 2013 - 12:38 AM

hehe




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users