LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2005, 05:04 AM   #1
Artik
Member
 
Registered: Apr 2005
Location: Israel
Distribution: Debian 3.1 Sarge, Ubuntu Breezy
Posts: 223

Rep: Reputation: 30
SSH Login problem


Hello, I have some issues with connecting vis SSH

I have SSHD installed on my home computer and I have no problems connecting via LAN... Also when I connect to external Linux server XXX.ac.il and connect to my home computer vis SSH from it works well - no problems.

I could also connect form work to home computer for some time without any problmes but recently...

When I connect to home computer I get following message:
Code:
Write failed: Connection reset by peer
While there no problems connecting via LAN or from Linux server XXX.ac.il

If I try telnet on SSH port (to test connection itself)

I get replay:
Code:
SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4
So it is defenatly not home firewall problem - there is connection but then something goes wrong

Connection using PuTTY or Cygwin ssh both not work.

Can anybody help me... please
 
Old 06-27-2005, 08:30 AM   #2
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
where is putty on linux i cant find it
 
Old 06-27-2005, 08:58 AM   #3
Artik
Member
 
Registered: Apr 2005
Location: Israel
Distribution: Debian 3.1 Sarge, Ubuntu Breezy
Posts: 223

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by fakie_flip
where is putty on linux i cant find it
The problem is in remote connection from Windows XP...

PuTTy is terminal program for Windows that supports telnet, SSH1/2 protocols.

Also there is ssh in Cygwin environment...

I think there is no putty in linux
 
Old 10-14-2005, 12:36 PM   #4
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
How do I get in my modem and disable the firewall? It is keeping people outside of my lan from viewing my web server, sshd and other things.
 
Old 10-14-2005, 03:01 PM   #5
ozymandias
Member
 
Registered: Aug 2005
Location: West Midlands, UK
Posts: 61

Rep: Reputation: 15
To get back to your problem...

I had the same thing happen when connecting via ssh from work. It turned out they's changed their static IP address so it no longer corresponded with what I'd got in my /etc/hosts.allow
Could that be your problem? If not, try something like
grep "refused" /var/log/auth.log
(depending on your distro) to check out the IP addresses which are being bounced.
Most of the problems I've had with ssh have all been with permissions - you copy a dsa_id or rsa_id to another machine using root priviliges and forget that it inherits these. If you're using keys, make sure the user and groups are not 'root' but the user name you connect as.
Finally, running ssh -v user@host might give you some clues.
I'm assuming you haven't changed any of your ssh.config settings between being able to connect and not!











00@
 
Old 10-14-2005, 04:55 PM   #6
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
I've found that the putty client is a little squirrely sometimes. Try telling putty to only use ssh protocol 2.
 
Old 10-17-2005, 09:54 AM   #7
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Outside of my lan at home, no one can access my computer by ssh, apache webserver, telnet, ftp and probably more, but computers behind in the lan can access those services on my computer. I tried dmz, port fowarding, upgrading the firmware on my router and more. I tried everything the Linksys technicians told me to do, and I talked to several. Now I think that the problem could be with my Westell DSL modem. Someone in my family says it has a firewall in it, but will not tell me anything else. I wonder if this person changed some of the settings to make it hard to get in it, or that I have to use another port. I tried unplugging the router from the DSL modem and plugging my computer directly into the DSL modem. I tried http://192.168.1.1 http://my.public.ip.address, and I tried a few more. None worked. What other problems could be causing this to happen? How can I access my DSL modems setup page? I also tried accessing the DSL modems setup page from another lan by the same method. I could not there either, and I do not think anyone there is smart enough to go in there and change things to make it hard to get in. It is also a Westell modem by the same ISP. I have emailed Westell. Westell told me to plug my computer directly into the modem and browse http://192.168.1.1 When I replied after it had been a while later. They did not reply to me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh login problem RedHat AS3 ("Did not receive identification string from") spaniel Linux - Security 1 07-03-2005 06:50 AM
Another ssh login problem silver2003 Linux - Security 3 10-03-2004 08:44 AM
ssh login problem K_M_McMahon Linux - Newbie 4 03-29-2004 09:22 AM
SSH login problem - cannot choose user atom Linux - Networking 2 02-29-2004 11:53 AM
Strange! SSH and Telnet login problem McSmooth Linux - General 7 10-03-2003 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration