sshd - OpenSSH SSH daemon

learn more… | top users | synonyms

7
votes
2answers
770 views

SSH Process not Killed on Remote Machine when the Remote System Unexpectedly Disconnects

I have a question to which I haven't been able to find an answer. I have two computers, both of which run Ubuntu 12.04. I keep one of my computers at home and use SSH to connect to it from the other ...
6
votes
1answer
10k views

Unable to start sshd

I'm new to Ubuntu and trying to start sshd but having a lot of problems. I've tried uninstalling and reinstalling ssh by running sudo apt-get remove openssh-client openssh-server and sudo apt-get ...
6
votes
1answer
701 views

How to remove legal notice from MOTD / Banner for non-root users

Problem: The following text is shown for all non-root users when logging in via SSH: The programs included with the Ubuntu system are free software; the exact distribution terms for each ...
6
votes
1answer
13k views

Granting a sftp user access to a /var/www directory

I've created a user and made his home directory /var/www/mysite/ftpdir I've also added a Match user entry for this user in sshd_config with a ChrootDirectory that points to /var/www/mysite I've ...
5
votes
1answer
4k views

What does 'without password' mean in sshd_config file?

I just installed Ubuntu 14.04 on my server and I was setting up all my config files when I came across this in my sshd_config file: # Authentication: LoginGraceTime 120 PermitRootLogin ...
5
votes
1answer
997 views

SSH remote user need to be logged in?

I'm trying to set up an SSH server. I put my public key in the authorized_keys file, made sure the permissions were correct, etc. When I restart the server (really just Ubuntu 12.04 desktop) and I ...
5
votes
2answers
67 views

Cannot SSH from outside LAN despite port forwarding seems fine

Running Ubuntu 12.04, I've set up the OpenSSH server. I can connect from within LAN, but not from outside. I am using the same sshd_config file as on my other Ubuntu 12.04 machines (that sit in a ...
4
votes
1answer
2k views

How do I force SSH to only allow uses with a key to log in?

I tried following the instructions here: http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ to only allow users with a public key on the ...
4
votes
3answers
1k views

SSH connections dropping after two or so lines

I'm actually having a bit of an odd problem. I'm running Ubuntu Server 12.04, with a minimal set of packages: The base system, sshd, and an IRC server. I must allow someone else to configure the ...
3
votes
2answers
3k views

ssh hangs for ~15 seconds before connecting

If I directly connect to Server A, using public key auth from my computer, it takes <0.5 s. But if run the same ssh command from Server B (to connect to Server A) it freezes for about 15 s at the ...
3
votes
3answers
4k views

tail: inotify cannot be used, reverting to polling: Too many open files

When I try to tail -f catalina.out, I get the error: tail: inotify cannot be used, reverting to polling: Too many open files I tried the answer in this post: Too many open files - how to find the ...
3
votes
3answers
1k views

SSH from external network refused

I've installed open-ssh-server on my home computer(running Lubuntu 12.04.1) in order to connect to it from school. This is how I've set up the sshd_config file: # Package generated configuration file ...
3
votes
1answer
2k views

12.04 sshd_config file is empty, but my ssh_config is not empty

Please know I am no sysadmin. Yesterday I re-installed UBUNTU 12.04 LTS - running 3.2.0-33-generic-pae. I have worked for hours trying to install vsftpd to no avail, and now find myself trying to ...
3
votes
1answer
681 views

Can't set up public key ssh authentication

I have a fresh install of Ubuntu 12.04. I'm trying to setup ssh public key authentication. Unfortunately, it refuses to work. Running the ssh client in verbose mode I can see that the public keys are ...
3
votes
2answers
298 views

ssh server does not start on lubuntu live image

I installed the lubuntu 13.10 32bit iso image with usb-creator-gtk on a USB stick and assigned 2GB of persistent storage to it. That's for a thin client, which does not have any storage of itself at ...
3
votes
2answers
4k views

How to configure pam.d files for ldap over ssh on 12.04?

I'm trying to set up an Ubuntu 12.04 server so that users with a valid account in a remote ldap server can login to the ubuntu server. I've followed this guide closely: ...
2
votes
2answers
8k views

SSH public key authentication doesn't work

I'm having trouble setting up public key authentication for an SSH server on Ubuntu Server 12.04 (A) for authentication from an Ubuntu Server 13.04 (B). What I'm doing now (I'm trying to follow the ...
2
votes
1answer
528 views

How to give restricted access to user

I have a home PC and I created a reverse port forwarding to a server. Now I would like to go access to some people to the Home PC through this server. I would like to control the access of the user on ...
2
votes
2answers
32 views

Ubuntu on SSHD Drive with Windows 7 VM

I'm tottaly new to Ubuntu. Only played with it in the last few days while I waited for the new drive to come (LiveUSB persistent) I'm really impressed with it (and sick of Windows' sluggishness) and ...
2
votes
3answers
17k views

ssh: connect to host 192.168.1.7 port 22: Connection refused

I get this error when ever I try to connect my desktop with another desktop using SSH, but I'm able to ping the other desktop successfully. ssh: connect to host 192.168.1.7 port 22: Connection ...
2
votes
2answers
7k views

Why is PermitRootLogin in sshd_config set to yes by default?

As Ubuntu has no real root account, why is /etc/ssh/sshd_config allowing remote root login anyway? Isn't that inconsistent?
2
votes
1answer
49 views

Connecting remotely from Ubuntu to another linux

I want to connect remotely from Ubuntu to Suse. Two different systems in two different locations. I know how to use ssh to connect remotely to a machine in the same network. But, I do not know how to ...
2
votes
1answer
97 views

2 sshd configurations 1 for internal and 1 external

How can I setup open ssh server so that if i'm ssh'ng from a local lan I want it to be via port 22 but if I'm coming externally its via port 12345 for example. Then for external access I'd like some ...
2
votes
1answer
369 views

Unable to ssh to machine. Outbound ssh works. sshd is running on port 22

I have an Ubuntu 12.10 machine on my LAN to which all ssh connections time out. Let's call it 'F' (for fail!) Two other machines 'A' and 'B' on the same LAN can connect to each other. I can also ssh ...
2
votes
1answer
2k views

create log file just for ssh

I use ubuntu 10.04, contained ssh. I want to create a log file that stores all the activity on ssh (only ssh). Like in /var/log/auth.log but only for ssh. Like /var/log/ssh.log. So, file ssh.log will ...
1
vote
1answer
555 views

How do I check that a configuration file has been read?

It seems that modifications to my /etc/ssh/sshd_config file are not picked up by the SSH daemon. For test purposes, I included a DenyUsers *, did service ssh restart, and even rebooted the whole ...
1
vote
2answers
5k views

Disable automatic starting of sshd? [duplicate]

Possible Duplicate: How do I disable SSH from starting automatically? Simple question here; what's the correct way to stop the sshd service from starting when the OS boots ? I'm not sure ...
1
vote
1answer
1k views

hpn-ssh on ubuntu server

What is the current status of hpn-ssh on ubuntu? It is not in the default repositories, as far as I can tell, but does anybody knows if there are any plans to add it (or decisions not to add it)?
1
vote
2answers
4k views

How to debug sshd not running at startup on server

I have a (virtual) server running an Ubuntu 10.04 minimal system. I seem to have misconfigured sshd so that it does not start up on reboot. Since this is a server, I now do not have shell access to my ...
1
vote
1answer
3k views

ssh not accepting public key

I recently installed ubuntu 10.04 and trying to connect to remote servers with SSH, which is failing to connect with public key. I created the DSA keys, then did a ssh-copy-id to the remote server ...
1
vote
0answers
10 views

sshd_config file is being overwritten on reboot

I need an AWS server to accept password authentication and whenever I remove the hash and set PasswordAuthentication yes After reboot or create image and launch a new instance, the # is added back ...
1
vote
0answers
72 views

Upgraded ubuntu from 13 to 14.03; x11 through ssh is not working

how to enable x11 forwarding in ssh config or sshd config with respect to Ubuntu 14.03 Following is the error: PuTTY X11 proxy: MIT-MAGIC-COOKIE-1 data did not ...
1
vote
0answers
74 views

Why does ps -ef list 19 occurrences of sshd?

I have four VPSs with two vendors. Whereas the two VPSs of the first vendor that I have been with for a number of years list between 2 and 4 sshd, when I do a ps -ef, both VPSs of the second, new ...
1
vote
1answer
59 views

sshd activation on ubuntu system

I want to connect my work Desktop computer remotely from home. I have read that ssh is used to connect to remote/server machine. When I was reading I came to know that to connect to a remote ...
1
vote
1answer
123 views

Why is ssh X-Forwarding of browser not working for internal IP addresses?

I want to access my private Ubuntu server at home during lunch break at and from work. The problem was, that at work, the SSH port is blocked by the firewall (default setting). So I changed the ...
1
vote
0answers
93 views

eCryptfs : How to keep the home mounted without being over ssh?

I have a daemon program who need to read in a file who is saved somewhere in my home folder. But every time I close my ssh connection, this daemon can't read the file because it appear that eCryptfs ...
0
votes
2answers
606 views

How to edit sshd_config remotely? A problem of incorrect permissions?

I am trying to remotely edit sshd_config file using WinSCP and putty. Unfortunately, I keep getting the following error- “Cannot overwrite remote file Press delete to delete the file and create a new ...
0
votes
1answer
1k views

Allow incoming connections from outside LAN

I have an openssh-server running on my computer. However, I'm not able to connect to it from outside my LAN. Connecting from within LAN is no problem at all, it works just as one would expect. ...
0
votes
1answer
33 views

Make sure that sshd will automatically start after reboot

I am connected to a computer over ssh. I have to reboot it remotely, while making sure that I will be able to reconnect to it over ssh just after reboot. I install 'bum' and marked sshd to be ...
0
votes
2answers
2k views

sshd won't stop/start properly

I am running ubuntu 13.10 (fresh install). I have installed openssh-server. During the process of trying to troubleshoot a problem with logging in via ssh from another linux system (also running ...
0
votes
1answer
779 views

Problem Setting Up Local SSH Server

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 ...
0
votes
1answer
63 views

I am not able to login to another laptop

I am using this command: userA :~$ sudo ssh userB@192.168.1.3 It says ssh: connect to host 192.168.1.3 port 22: connection refused. I want to login remote & this is not working. In a forum ...
0
votes
1answer
573 views

Changes to user's home directory not updating

I've just made changes to a user's home directory (using usermod -d) - but I'm still going to the old directory when I login (via sftp). Do I need to restart a user service to pick up these changes? ...
0
votes
0answers
29 views

Ubuntu 12.04 - SSH hang at reading configuration

Hi fellow Ubuntu users! I currently have a problem when connecting to remote computers at work. Here is the log : OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading ...
0
votes
0answers
41 views

Ubuntu 13.10 allows connections from LAN but not from outside LAN

SSH ports configured to all 22 and another one. I can connect from another Linux/Windows workstations on my home LAN no problem. Same thing for nomachines nx server. Teamviewer connects with no ...
0
votes
0answers
29 views

How do you set the ssh default directory?

I have installed the ssh server package and have tried to login to my server from a client machine which is windows system. When I connected to the server using sftp, the server copied to ...
0
votes
1answer
89 views

Configure Apache for home network

I'm on U13.10 and have installed LAMP per the Tux Tweaks instructions (see their website -- apparently I'm not yet allowed to post the actual link). Then I followed Tux Tweaks instructions on ...
0
votes
0answers
92 views

Change expired password via ssh

I have added some new users and set default passwords. Using chage -d 0, I have expired them, hoping that they will be prompted to change their passwords the first time they login. Unfortunately, ...
0
votes
2answers
57 views

SSH log login attemtp details

I my office we are using Ubuntu Server 12.04. I have installed SSH server in it for clients to access through Putty. Now I need to track the users login details like IP address, hostname and date of ...
0
votes
0answers
38 views

ssh sessions manager in ubuntu with .pem keys

I am finding application in ubuntu, so I can authenticate using .pem keys and save ssh sessions names and directly access server. It should be alternative of putty.