Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

having a little trouble with SSH...

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
DrAwesomePhD
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Sun Oct 30, 2005 9:00 am

having a little trouble with SSH...

  • Quote

Post by DrAwesomePhD » Thu Nov 03, 2005 7:38 am

Hi, im having a little trouble connecting to my SSH server... i went to www.no-ip.org and got one of their IPs.. (dfrazer.redirectme.net) and then i try to connect to it via PuTTY, and i type dfrazer.redirectme.net at port 22 and it loads the screen and waits a second then says "Network Error: Connection Refused" Does anyone know whatsup?

I can connect to another server (on campus) at say a.redirectme.net and it works fine... Why wont my server work >.< I can ping my server from this computers command prompt using ping dfrazer.redirectme.net...
Top
durian
Guru
Guru
User avatar
Posts: 312
Joined: Wed Jul 16, 2003 6:38 am
Location: Rörums Holma

Re: having a little trouble with SSH...

  • Quote

Post by durian » Thu Nov 03, 2005 7:53 am

DrAwesomePhD wrote:Hi, im having a little trouble connecting to my SSH server... i went to www.no-ip.org and got one of their IPs.. (dfrazer.redirectme.net) and then i try to connect to it via PuTTY, and i type dfrazer.redirectme.net at port 22 and it loads the screen and waits a second then says "Network Error: Connection Refused" Does anyone know whatsup?

I can connect to another server (on campus) at say a.redirectme.net and it works fine... Why wont my server work >.< I can ping my server from this computers command prompt using ping dfrazer.redirectme.net...
Is the ssh server running on your machine?

Code: Select all

/etc/init.d/sshd status
should tell you that.

-peter
Top
DrAwesomePhD
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Sun Oct 30, 2005 9:00 am

  • Quote

Post by DrAwesomePhD » Thu Nov 03, 2005 7:56 am

yes indeed it is... it boots with my computer.
Top
Qantourisc
n00b
n00b
Posts: 3
Joined: Thu Nov 03, 2005 7:44 am

  • Quote

Post by Qantourisc » Thu Nov 03, 2005 7:58 am

other then that make sure if you have a nat nat / iptables / firewall that the port is open for conneciton. "Connection refused" means that the computer (or anything between it) answered: "No there is no application listingen on that port".
Top
svf
n00b
n00b
Posts: 50
Joined: Tue Feb 01, 2005 12:22 am

  • Quote

Post by svf » Thu Nov 03, 2005 8:04 am

or check that dfrazer.redirectme.net is pointing to the right ip... maybe you set it via a webbrowser/proxy combo...
so the ip isnt the one of your server
uchafu!
Top
DrAwesomePhD
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Sun Oct 30, 2005 9:00 am

  • Quote

Post by DrAwesomePhD » Thu Nov 03, 2005 8:34 am

im pretty sure it is... i used lynx to register the name from the server computer, it automatically got the IP from that computer, and i also verified it to the ifconfig >.< im pretty sure its the right IP (but im not entirely sure i understand what yoru saying with all this proxy and webbrowser stuff) >.<
Top
svf
n00b
n00b
Posts: 50
Joined: Tue Feb 01, 2005 12:22 am

  • Quote

Post by svf » Thu Nov 03, 2005 9:21 am

i think you got it right... i thought that when you update your ip via a webbrowser(login etc) and you're using any proxy: no-ip will update the dns to the ip of the proxy

maybe wait a few minutes to get the update to be active...

btw.. can you ssh to your external ip?
uchafu!
Top
think4urs11
Bodhisattva
Bodhisattva
User avatar
Posts: 6659
Joined: Wed Jun 25, 2003 9:51 pm
Location: above the cloud

  • Quote

Post by think4urs11 » Thu Nov 03, 2005 10:39 am

does your sshd listen on the correct interface (the one with your externally reachable ip address)?
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Top
DrAwesomePhD
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Sun Oct 30, 2005 9:00 am

  • Quote

Post by DrAwesomePhD » Thu Nov 03, 2005 5:09 pm

listen to the correct port? I changed the ListenAddress in the sshd_config to dfrazer.redirectme.net however... that still didnt work >.<
Top
Post Reply

9 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic