sshd is the SSH daemon which responds to incoming requests

learn more… | top users | synonyms

11
votes
7answers
12k views

Windows SSH Servers?

I was wondering what people use as an SSHd server on Windows? I've decided that I want to be able to log in using SSH on my Windows computers but I don't want to use Linux full-time. What are my ...
8
votes
2answers
17k views

How to uninstall/reinstall cygwin to use the sshd?

I installed cygwin/sshd without good results. I removed the c:\cygwin directory to reinstall. I removed the sshd Administrator user by hand. I reinstalled the cygwin again, then run the ...
7
votes
3answers
323 views

Three-step authentication?

I'm using Ubuntu. I'm just wondering if it's possible to have libpam-google-authenticator (which lets you log in using a code generated by your phone) AND certificate authentication set up to work ...
6
votes
6answers
45k views

Disconnected: no supported authentication methods available

I have the same exact problem described in this thread, but the answer accepted there is not the right one for me, because the user's home directory is local. I think that I configured everything ...
5
votes
3answers
29k views

Command Line SSH restart Mac OSX Mountain Lion

How can I restart the SSH service via the command line on Mac OSX Mountain Lion please? Using ps aux | grep 'ssh', I was able to deduce that the process is most likely /usr/sbin/sshd. From here I ...
5
votes
1answer
2k views

Configure Mercurial for SSH on alternate port and specific key with a passphrase?

I'm trying to configure mercurial for use on a remote machine that has sshd running on an alternate port, and for which my login requires a particular key, which uses a passphrase. ssh is configured ...
5
votes
2answers
3k views

Cygwin Connection closed by ::1

During the installation of Hadoop I am trying to setup CYGWIN and ssh. Installed and ssh also started successfully and setup authorization key as instructed HERE but When I try to connect to the ...
4
votes
1answer
3k views

How to setup ssh, key-based (“password-less”) logins to a Linux/MacOSX sshd server via Windows, Linux, or MacOSX clients?

How does one setup ssh, key-based ("password-less") client logins to a Linux/MacOSX sshd server via Windows, Linux, or MacOSX clients? [Seeking both basic, conceptual understanding of key-based, ...
4
votes
1answer
3k views

No SSH access to a Dir-615 router running DD-Wrt firmware?

My current network setup consists of a D-link dir-615D1 flashed with DD-Wrt (v24 PreSp2 Build21061). This is hooked up directly to a Windows 7 PC with an Ethernet cable (With no internet access). I ...
4
votes
4answers
2k views

SSH Advanced Logging

I've installed OpenSUSE on my server and want to set ssh to log every command, which is send to system over it. I've found this in my sshd_config: # Logging # obsoletes QuietMode and FascistLogging ...
3
votes
1answer
2k views

SSHD on Windows

I installed Git for Windows and it came with the "Git Bash", which is basically MinGW32. I noticed that it has SSH, but doesn't have SSHD. What is the easiest way to get SSHD in MinGW32?
3
votes
3answers
4k views

Cygwin sshd did not start due to a logon failure

After a cygwin sshd install, sshd service fails with: Error 1069: The service did not start due to a logon failure I try to give cyg_server standard user and admin access. The error is the same ...
3
votes
1answer
11k views

Understanding X Windows DISPLAY environment variable when tunnelling

I want to ssh to remote servers, both running CentOS with X11Forwarding enabled. However the X application cannot run properly on one of them - on host B it works fine. But on host A I get the error ...
3
votes
4answers
7k views

SSH from host machine Win7 to guest Fedora Machine in VirtualBox

I'm using VirtualBox on Windows 7 to run Fedora 7. I seem to have my SSH on, as /sbin/service sshd status tells me. When I do an /sbin/ifconfig, I get this: eth0 Link encap:Ethernet HWaddr ...
2
votes
3answers
1k views

ssh server on runlevel 3

I have been trying to setup a ssh server on my desktop for remote access and have been running into a few issues. The first I have found is that sshd is not starting on boot. As soon as I run: sudo ...
2
votes
3answers
3k views

Stable reverse port forwarding in SSH and stale sessions

Using VPS to forward ports behind NAT: for((;;)) { ssh -R 2222:127.0.0.1:22 vi@vi-server.org; sleep 10; } When connection is broken somehow and it is reconnecting. Warning: remote port forwarding ...
2
votes
3answers
1k views

Can only ssh into Ubuntu 12.04 alpha machine when logged into console

I recently installed the latest Ubuntu 12.04 64bit alpha (2?) onto a VMware virtual machine in order to check things out. One strange thing I've encountered is that I can only successfully ssh into ...
2
votes
2answers
413 views

Using sshd_config to limit root login?

Using ubuntu 12.04, I want to use sshd_config to limit ssh-sessions coming from root to a fixed subset of IP's. I want normal users to be able to ssh from anywhere, but root should only be able to ssh ...
2
votes
2answers
4k views

Restrict SSH to one interface

How can I restrict incoming SSH connection request to only one interface? I'm using Ubuntu Server 10.04 LST. I want to lock down access to SSH to only one interface because I use the server as a ...
2
votes
1answer
499 views

ssh banner per user

I want to notify a certain user to call me, the admin, since I disabled his account. I could set /etc/issue.net, but this is shown to all login attempts. Is there a way to restrict a message/banner to ...
2
votes
1answer
722 views

Does restarting sshd always keep existing sessions alive?

I booted a server and (too late) I discovered that some breaking change had been made to /etc/ssh/sshd.conf. Can I be reasonably sure that restarting sshd keeps existing connections ? (this was on ...
2
votes
2answers
74 views

SSH auth by public key not working for one user on a system

I can't setup public key authentication for one particular user on a system. I checked user home and .ssh directories permissions, and it's good (drwx------. both, the same as for other users that can ...
2
votes
2answers
86 views

Generating SSH Keys on the Server

I have set up sshd on a Linux server and managed to log in via keys generated using ssh-keygen. However, I have made the following observation: When I generate the key pair on the client and copy the ...
2
votes
1answer
434 views

Why does ssh login with same keypair work for one account but not the other on the same machine?

I have an RSA public/private keypair on my laptop; on a remote machine I have two accounts A and B which each have the public key in /home/{A,B}/.ssh/authorized_keys. With the private key loaded in ...
2
votes
2answers
125 views

sftp://domainnaame.tld shows whole filesystem

I have a home web server using SSH on a custom port. I've found that if I go to sftp://domainname.tld:port my whole filesystem is visible, and anybody can download any file. I'd like to chroot this to ...
2
votes
1answer
670 views

SSHD on Windows8 won't start: System error 1068 has occurred

I just installed cygwin and ssh-host-config -y on two new laptops running Windows8-Home. On one of them, sshd starts, on the other it doesn't: C:\> net start sshd System error 1068 has occurred. ...
2
votes
1answer
2k views

ssh ForceCommand vs. ProxyCommand

I need to have a group of users hop through a server ('bastion') into another machine ('dest') via ssh to commit code. Seems like my options are: tell users to use ProxyCommand in their .ssh/config ...
2
votes
1answer
531 views

Setting up sshd_config in cygwin for AES encrypted file transfer

I'm a bit newer to cygwin and sshd, and I want to configure sshd to allow encrypted SFTP file transferring. From what I understand, I need to find some sort of sshd_config example (which for some ...
2
votes
1answer
956 views

Can't setup SSH server on Cygwin

I had set this up a while ago on a different computer, but I can't get it running now. I've followed the directions at http://pigtail.net/LRP/printsrv/cygwin-sshd.html and I'm getting the following ...
2
votes
1answer
1k views

copssh RSA only authentication

I am trying to setup an RSA Authentication only SSH/SFTP server. The SSH will be used primarily for RDC. Everything works just fine if I use password authentication. I am using Putty Key Generator to ...
2
votes
3answers
349 views

How can I determine if a client SSH connection has a tty associated with it?

Im writing a PAM module to handle authentication (server side - sshd) and I have to know if an ssh client is a tty (interactive) or not (non interactive). Does anyone have a clue?
2
votes
1answer
1k views

Cygwin OpenSSH closes immediately after a connection

Trying to connect to cygwin-sshd using putty or cygwin ssh on localhost, here is all I get. I have it working fine on a different Win7x64 machine but this one is proving hellish. Config files for ...
1
vote
1answer
1k views

sshd_config AllowUsers Should Root Be Allowed?

I am asking here as i do not want to get locked out of my server. I do not want to allow root login to ssh, however if a user enters a "su" command i want them to be able to become root. So do i ...
1
vote
2answers
34 views

Tasks done by ssh server when it recieves a request

When i ssh into a server using ssh -vvv user@ip then It gives me all the information of the steps that a particular client is performing in order to connect to a OpenSSH Server. So i was Wondering ...
1
vote
2answers
434 views

Is it possible to disable Copy & Paste in SSHD on Linux?

Is it possible to disable Copy & Paste on Linux so that people using Putty or any other ssh client can't copy & paste from the server to their own machine?
1
vote
4answers
712 views

transfer information about the connection from ssh client to ssh server

suppose I have the following ssh session: userA@boxA -> userB@boxB -> userC@boxC now, from boxC, as userC, I would like to have the information that the ssh connection came from userB@boxB ...
1
vote
1answer
2k views

Starting Windows GUI program in Windows through Cygwin sshd from ssh client

I would like to ssh into my Windows box running Cygwin sshd and run the Windows GUI application in that Windows box. I don't want X forwarding. e.g. From ubuntu-server terminal, I ssh into Windows ...
1
vote
4answers
4k views

sshd refuse connection?

For some reason I cannot access from my vitrual machine my remote virtual server at a server farm and instead it gives me this error message: OpenSSH_5.9p1, OpenSSL 1.0.0g 18 Jan 2012 debug1: ...
1
vote
2answers
3k views

SSH connection between two behind-nat computers through third public-ip computer

I have a computer at home (home-server) that runs irssi, rtorrent etc. My ISP is blocking every traffic from outside (dumb, I know, but it's the only ISP I can have). I want to be able to log in into ...
1
vote
1answer
22 views

Can not connect via sshd on scientific linux 6

I try to connect over ssh to my working machine (in the same network). The machine is reachable by ping and responds with the password prompt when I try to ssh it. But doesn't accept the password. I ...
1
vote
2answers
132 views

How to setup ssh on Mac OS (client) and on server (ubuntu) to recover from temporary connection lost

I'm having problem that my network router reboots occasionally and because of that my ssh connection via terminal to my Ubuntu server is ended. The internet connection is just temporary disrupted and ...
1
vote
1answer
105 views

Why am I prompted for a password when using SSH to connect to another server?

I installed a fresh copy of CentOS 6.4 on two boxes, and Im trying to setup password-less SSH from server1 to server2. On server 1, I generated a key with ssh-keygen, transferred it to server2, put ...
1
vote
1answer
635 views

Exclude specific group/users from ForceCommand in OpenSSH ssd_config

I want to make ForceCommand internal-sftp and ChrootDirectory /jail the default for all users accessing a server via SSH. Only users in a certain group are allowed to escape this. How can I exclude a ...
1
vote
1answer
1k views

How do I find out the type of http proxy server I'm tunneling through?

Following standard online directions, I set up an ssh tunnel at home using putty to access private web pages accessible only on my work network. Fortunately, this just worked; when I sshed into a ...
1
vote
2answers
3k views

dd-wrt v24sp2 std. on WRT54GL v1.1 - remote access do not work (neither ssh not web-interface)

After installing the standard version of dd-wrt v24 sp2, I lost the ability to remote-access the router. The sshd is running and remote ssh is enabled. I can ssh into the router from the LAN, and ...
1
vote
1answer
95 views

ssh-host-config script still finds the user account cyg_server when it's deleted

I removed sshd service and deleted the privilegded user account created by the script. Now I want to re-install sshd, and am having trouble with the ssh-host-config script. It still finds the user ...
1
vote
2answers
871 views

CentOS 6.4 and alternate SSH port not working

I've got a CentOS 6.4 machine and would like to change the default SSH port, and followed these instructions: CentOS Wiki After making those changes (including the "semanage port -a -t ssh_port_t -p ...
1
vote
1answer
187 views

Does SSH key authentication normally pass through daisy-chained clients?

When I am connected from my home computer to a server, and then connect to a 2nd server via ssh on the 1st server, I realized I am able to authenticate instantly without the private key being on the ...
1
vote
2answers
89 views

Linux: Find out who was logged on when?

I need to find out which user screwed up the ssh config. There's nothing in anyone's bash history. But I did see when a bunch of ssh-related errors in the logs that started at a specific time. I'm ...
1
vote
1answer
590 views

Which ssh-agent to connect to when setting SSH_AUTH_SOCK inside screen/tmux?

I am using a variation of the following line: export SSH_AUTH_SOCK=$(find /tmp/ssh-* -name agent.\* -uid $(id -u)|head -n 1) found over at Github. This way I should be able to use my forwarded ...