Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
40 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 ...
0
votes
1answer
44 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
4answers
95 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: ...
0
votes
0answers
93 views

SSH via Cygwin “Authentication method 'password' failed”

there. I'm an SSH/Cygwin noob, but want to use ssh via Cygwin to connect to a Windows 7 machine under a domain from ConnectBot (android). I went through the ssh-host-config as described here: ...
0
votes
1answer
152 views

pscp + freeSSHd permission denied

I have a problem with pscp and freeSSHd on Windows7. There are two PCs with Windows7, on the one side there is pscp.exe (version: 0.62) and on the other side there is freeSSHd (version: 1.2.4). ...
0
votes
1answer
50 views

How to configure ssh to load more private keys automaticaly?

How does ssh look for private key to load? I know that it does try to load ~/.ssh/id_rsa and after this ~./.ssh/id_dsa. Now I do have two keys. Is it possible to name them in such way that ssh will ...
0
votes
0answers
59 views

Cygwin sshd with tcp_wrappers

How can I use tcp_wrappers in sshd for cygwin? The standard /usr/sbin/sshd hasn't libwrap so I tried to compile it using openssh-5.9p1-1 with: ./configure --prefix=/usr --sysconfdir=/etc ...
0
votes
1answer
83 views

SSH hangs on exit with background jobs - inconsistently

On different Linux boxes, I see different behavior with respect to SSH sessions hanging on exit when there are background jobs running. If I do exactly the same thing $ for f in 1 2 3 4 5; do echo ...
1
vote
2answers
87 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
3answers
483 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 ...
1
vote
1answer
274 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 ...
1
vote
0answers
167 views

OS X Lion SSH server error

when trying to ssh into my macbook after changing the ssh port and disabling password authentication, I'm getting this error: PTY allocation request failed on channel 0 I've found a lot of ...
0
votes
2answers
321 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 ...
0
votes
1answer
76 views

Authorized keys only from external IP, but passwords allowed internally

I just set up my sshd_config to only accept authorized key instead of passwords to help secure my network. Is it possible to make this restriction only apply to external IPs and allow me to still use ...
2
votes
1answer
203 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 ...
1
vote
1answer
134 views

SSH client on Windows 7 not connecting to linux sshd via hostname

I have a straightforward home network setup where everything is routed via the broadband router. I have a Windows 7 box and a Gentoo linux (currently) livecd box connected via power over ethernet to ...
3
votes
1answer
279 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, ...
2
votes
1answer
195 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?
0
votes
1answer
72 views

ssh_exchange_identification: unprotected port

I wanna login a guest minix system resides inside VirtualBox through ssh and receive the error ssh_exchange_identification: Connection closed by remote host. After turn on the verbose flag, the ...
0
votes
0answers
38 views

How do I perform a SSH Socks proxy through 2 hosts?

I have got a SSH Socks proxy setup at the moment like this : ssh -D 9999 -C user@home -p 443 (SSH calls corkscrew) This is working fine except that the machine "home" won't let me connect to the ...
2
votes
1answer
213 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 ...
1
vote
1answer
158 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 ...
0
votes
3answers
659 views

Ubuntu 11.04 desktop: cannot connect to openssh-server from the outside

I use Ubuntu 11.04 as desktop OS. I have openssh-server installed and can connect to it from the same computer. I want to use it to create a connection from another computer (on the same local ...
0
votes
0answers
81 views

Is there a way to map SSH user names on the server-side?

Is there any way to configure an SSH server to understand that "bgolemon" should be read as "buck" for incoming SSH connections? I've had several usernames over the years, so my various machines have ...
0
votes
1answer
299 views

Make msysgit work with cygwin ssh?

git-upload-pack errors occur when sshing into cygwin. sshd in cygwin does not take paths from .bash_profile as expected in a *nix environment. What is the way to remedy this and make msysgit work ...
0
votes
2answers
453 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 ...
2
votes
3answers
8k 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 ...
1
vote
1answer
233 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 ...
0
votes
1answer
45 views

Ubuntu server installer with SSHD

I really want to get a fresh, network install of Ubuntu server on my old computer. No cable laying around, so is there some network installer for Ubuntu server that starts up a SSH server as soon as ...
1
vote
1answer
414 views

Bypassing workplace HTTP proxy (using SSH, or other)

The workplace proxy (from here workproxy) is on port 8080; it requires NTLM authentication. I've been able to achieve this using NTLMAPS. I've tested NTLMAPS using all of my browsers, and the ...
2
votes
1answer
253 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
103 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
1answer
623 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 ...
0
votes
1answer
1k views

Copssh, how to add users?

I installed copssh on Windows Vista (64-bit) here, and the installation seemed to go fine. It requires you to explicitly add users to log in, which is fine, so I opened the COPSSH Control Panel ...
0
votes
0answers
136 views

Security implications of running ssh server at home (Linux)

What are the security issues to keep in mind when running an ssh server on a Linux box at home to allow remote access? What steps can be taken to minimize the risks?
1
vote
4answers
398 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 ...
0
votes
0answers
158 views

Cannot get SSHD installed into cygwin

I am trying ssh across samba from linux to windows cygwin. Command line responds with permission denied when I try this so I have tried to install sshd to help me with this. When I enter the command: ...
0
votes
4answers
503 views

SSH Authorized_Key Login Works in One Direction Only

There are three files in my setup: id_rsa id_rsa.pub authorized_keys authorized_keys has a copy of id_rsa.pub contents to allow no-password logins. These files have been copied between two ...
0
votes
1answer
363 views

can't ssh from mac to windows (running ssh server on cygwin)

I set up an ssh server on a fresh windows 7 machine using the latest version of cygwin. Disabled the firewall. I can ssh into it from itself, from a different windows box (using winssh), and from a ...
3
votes
4answers
474 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 ...
0
votes
1answer
670 views

Unable to connect to CopSSH when running Windows service, works when running sshd directly

I've been using CopSSH (that uses OpenSSH and Cygwin, so I don't know which of the three is the problem) as my SSH server application at home on Windows 7 Ultimate 32 bit. I have used it for about a ...
2
votes
1answer
578 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 ...
2
votes
2answers
893 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 ...
3
votes
1answer
4k 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 ...
1
vote
2answers
2k 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 ...
3
votes
4answers
5k 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 ...
5
votes
6answers
1k 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 ...
2
votes
1answer
330 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 ...