Unable to SSH from Windows client to Ubuntu Server


 
Thread Tools Search this Thread
Special Forums IP Networking Unable to SSH from Windows client to Ubuntu Server
# 1  
Old 01-26-2015
Unable to SSH from Windows client to Ubuntu Server

I'm trying to setup a small home network environment as a pet project. These are physical machines nothing virtual. Any help or ideas is greatly appreciated.

I can ping between both machines and I have Samba established and can read/write different shares. When I try to SSH from Windows 8.1 client to Peppermint 3 system I get the following pop-up
Code:
 PuttY Fatal Error: Server unexpectedly closed network connection

ssh is running
Code:
service ssh status
ssh start/running, process 6083

listening on port 22
Code:
ss -lnp | grep ssh
LISTEN     0      128                      :::22                      :::*      users:(("sshd",6083,4))
LISTEN     0      128                       *:22                       *:*      users:(("sshd",6083,3))

iptables -L
Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

cat /etc/network/interfaces
Code:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth1
iface eth1 inet static
address 192.168.1.50
netmask 255.255.255.0
gateway 192.168.1.1

# 2  
Old 01-26-2015
Can the Peppermint system ssh to itself?
# 3  
Old 01-26-2015
Quote:
Originally Posted by Corona688
Can the Peppermint system ssh to itself?
Yes
Code:
user5@Peppermint ~/.ssh $ ssh peppermint
The authenticity of host 'peppermint (127.0.1.1)' can't be established.
ECDSA key fingerprint is 17:a7:c9:f1:36:a8:e6:6e:e7:43:fb:72:9a:5a:c2:e6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'peppermint' (ECDSA) to the list of known hosts.
user5@peppermint's password: 
Welcome to Peppermint Three (GNU/Linux 3.2.0-52-generic i686)

 * Documentation:  http://peppermintos.com/guide/

6 packages can be updated.
6 updates are security updates.




The programs included with the Peppermint system are free software
except as noted in the individual package documentation; the exact
distribution terms for each program are described in the individual
files in /usr/share/doc/*/copyright.

Peppermint comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

user5@Peppermint ~ $ logout
Connection to peppermint closed.

# 4  
Old 01-27-2015
Is it running a firewall?
# 5  
Old 01-27-2015
In addition to the previous post have you added anything to /etc/hosts.deny?
# 6  
Old 01-27-2015
CAn both hosts ssh to their own full domain name, not localhost/IP? Do both IPs reverse lookup from the other end?
# 7  
Old 01-27-2015
Quote:
Originally Posted by Corona688
Is it running a firewall?
I have uninstalled the firewall from the linux server and disabled the windows firewall

---------- Post updated at 07:25 PM ---------- Previous update was at 07:24 PM ----------

Quote:
Originally Posted by gandolf989
In addition to the previous post have you added anything to /etc/hosts.deny?
only uncommented line in /etc/hosts.deny is this:

Code:
ALL: ALL

---------- Post updated at 07:28 PM ---------- Previous update was at 07:25 PM ----------

Quote:
Originally Posted by DGPickett
CAn both hosts ssh to their own full domain name, not localhost/IP? Do both IPs reverse lookup from the other end?
There isn't a domain. This is a private home network, I have a workgroup setup. In the smb.conf file I have the workgroup defined.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Unable to boot Ubuntu server 15.10

Hi; I had Windows Server 2003 and performed a fresh Ubuntu Server 15 installation. After installation, Ubuntu server not booting I guess there is boot problem conflicting with my old Windows Server. This is my pastebin: http://paste.ubuntu.com/13851828/ Any help to start my new... (1 Reply)
Discussion started by: gc_sw
1 Replies

2. Cybersecurity

LDAP and PAM Configurations for Windows 2008 R2 ADS and Cubox Ubuntu client

Please I am having problem to login using Windows 2008 R2 Active Directory Services accounts on a cubox ubuntu (2.6.32.9-dove-5.4.2 #46). "getent passwd" only shows local users, however I can querry ADS users using ldapsearch command. I have 2 systems, one that does not use gdm can login with all... (1 Reply)
Discussion started by: powelltallen
1 Replies

3. Shell Programming and Scripting

LDAP and PAM Configurations for Windows 2008 R2 ADS and Cubox Ubuntu client

Please I am having problem to login using Active Directory Services 2008 R2 accounts on a cubox ubuntu (2.6.32.9-dove-5.4.2 #46). "getent passwd" only shows local users, however I can querry ADS users using ldapsearch command. I have 2 systems, one that does not use gdm can login with all users... (0 Replies)
Discussion started by: powelltallen
0 Replies

4. Shell Programming and Scripting

unable to configure NIS client server

Dear all, I am using solaris 10 OS. I configured NIS server and i also configured NIS client server but when i use the command ypinit -s sunserv1 in NIS client it is showing me the below error. Enumerates maps from sunserv1. please check that it is running. (2 Replies)
Discussion started by: bhargav90
2 Replies

5. SuSE

HELP for Newbie: Unable to run GUI installer (Ubuntu client connected to SLES server)

Hello All, I'm using my Ubuntu 10.04 client connected via SSH to a SuSE Linux server (SuSE Linux Enterprise Server 11 (x86_64) version 11 patchlevel=1). I'm trying to run an install of WebSphere Portal but can't seem to be able to run the GUI installer. Running xclock as root returns this... (7 Replies)
Discussion started by: kartrait
7 Replies

6. Linux

Help!! trying to connect to linux SSH from windows putty client

Hi, i am trying to connect my Putty session on a windows box to a linux SSH, i have generated private and public key pairs using puttygen, i have set the public one to be in an OPENSSH format... and have put this in my authorized_keys file in linux, when i connect i get the following errors: ... (1 Reply)
Discussion started by: Jtyreman
1 Replies

7. AIX

ssh login from windows client

I am a new user and i wish to connect to a unix(AIX) server from a windows client using ssh.A detailed solution would be highly appreciated. (1 Reply)
Discussion started by: ajayb3004
1 Replies

8. Windows & DOS: Issues & Discussions

ssh: sending password from windows client

Hi. My workstation is Windows. I use putty to connect to unix servers. The problem is that i'm doing it many times a day and each time i need to supply password. I have no control on ssh configuration on servers, because of account restrictions. So i can't use key authentication, how is suggested... (4 Replies)
Discussion started by: kukuruku
4 Replies

9. Windows & DOS: Issues & Discussions

ssh client and Windows remote Desktop

Dear All , I want to Access my office computer form the home. The enviourment is like the following : 1- From my home I connect for the office via VPN connection to Unix server lets say it's IP is 11.11.11.11 and till now every thing is OK and I can access the machine normally . 2- In my... (3 Replies)
Discussion started by: habuzahra
3 Replies

10. Cybersecurity

What's the difference between an SSH Client and an SSH Server?

Eh... yeah. What the title says. :D (1 Reply)
Discussion started by: PSC
1 Replies
Login or Register to Ask a Question