Server Base: No SSH Connection [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Server Base: No SSH Connection [Solved]

Postby vaettchen » Fri Jun 01, 2012 17:33

I just have set up a new server that is supposed to replace my aged Fit-PC, but I'm suffering from lack of connectivity:

I can ssh out of the new machine (192.168.1.50), but I cannot connect inwards. So if I try from some other PC
Code: Select all
ssh 192.168.1.50


I get a time-out
Code: Select all
ssh: connect to host 192.138.1.50 port 22: Connection timed out


I have installed cups on the new server, and also here I cannot connect:
Code: Select all
https://192.168.1.50:631

simply remains "connecting".

iptables is not running. What could it be?
ping works, by the way.

Thanks,
Rainer

PS: sshd is running on all machines, and ssh-keygen has been done
Last edited by vaettchen on Fri Jun 01, 2012 21:52, edited 1 time in total.
vaettchen
Simple Hen
 
Posts: 94
Joined: Sun Jan 21, 2007 8:47

Re: Server Base: No SSH Connection

Postby joost » Fri Jun 01, 2012 18:40

turn off the ufw firewall?
Is sshd running on the server?

:D
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Server Base: No SSH Connection

Postby vaettchen » Fri Jun 01, 2012 20:20

Thanks a lot - I thought it was the firewall but I didn't know about ufw. Switched it off, and ssh is up and running in both directions now!

The remaining problem is that still i cannot access the cups server (https://192.168.1.50:631). Before, I got a timeout; now, with ufw switched off, firefox tells me right away that it "can't establish a connection to the server at 192.168.1.50:631".

What am I still doing wrong? ===> Had to edit cupsd.conf and add "Listen *:631 -- this is new I believe, used to be default!

Thanks once more,
Rainer
vaettchen
Simple Hen
 
Posts: 94
Joined: Sun Jan 21, 2007 8:47

Re: Server Base: No SSH Connection [Solved]

Postby frankleonard » Wed Sep 19, 2012 10:33

You can always make sure your sshserver is available on the internet by using http://webssh.uni.me or similar websites that offer ssh.
frankleonard
Baby Hen
 
Posts: 1
Joined: Wed Sep 19, 2012 10:28

Re: Server Base: No SSH Connection [Solved]

Postby lxnay » Wed Sep 19, 2012 18:58

You need to explicitly allow CUPS to accept external (non local, 127.0.0.1) connections.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3415
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Server Base: No SSH Connection [Solved]

Postby BoeroBoy » Mon Nov 19, 2012 0:47

Thank you!
I was about to post this same question. Not sure when entropy grabbed ufw on me...
User avatar
BoeroBoy
Simple Hen
 
Posts: 40
Joined: Fri Feb 23, 2007 20:25


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest