sshd - OpenSSH SSH daemon

learn more… | top users | synonyms

0
votes
2answers
1k 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
255 views

Does Ubuntu (server) go to sleep? Why does it take long to login? [duplicate]

I have several Ubuntu Server (12.04 LTS) virtual machines. Some are idle and some are processing background tasks, etc. However, when I try to login (SSH) to the servers, it often takes several ...
2
votes
1answer
161 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
2answers
15k 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 ...
4
votes
4answers
2k 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 ...
2
votes
1answer
523 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 ...
4
votes
3answers
8k 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 ...
10
votes
1answer
17k 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 ...
3
votes
2answers
5k 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
3answers
28k 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 ...
0
votes
1answer
995 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 ...
7
votes
2answers
1k 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 ...
2
votes
1answer
4k 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 ...
0
votes
1answer
68 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 ...
3
votes
3answers
2k 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
3k 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 ...
1
vote
2answers
7k 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 ...
5
votes
1answer
1k 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 ...
0
votes
1answer
961 views

Restricting SSH users to certain access permissions

Is there a method to restrict SSH users to certain access rights for certain programs (such as Python, Perl, Ruby, Java, etc), but also a method to restrict them from leaving their /home/ directories? ...
3
votes
1answer
715 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 ...
6
votes
1answer
21k 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 ...
0
votes
1answer
595 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? ...
2
votes
1answer
576 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 ...
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. ...
2
votes
2answers
8k 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?
1
vote
1answer
2k 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
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
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 ...
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 ...
11
votes
5answers
16k views

How do I disable SSHD from starting automatically?

After installing openssh-server, the server start every time I boot. If I want it to be manual what do I need to do? In version 0.6.7+ of upstart I would add a "manual" stanza to the job file. 10.04 ...