Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.

learn more… | top users | synonyms (2)

1
vote
0answers
58 views

Weird proxy behaviour

I recently installed a computer in a network that is behind a proxy, I configured a reverse ssh tunnel to connect to it, and tunneled the ssh connection with corkscrew to connect to a server, this ...
1
vote
0answers
52 views

Domain randomly becomes unresolved

Recently, I've been having some issues with a domain name. I set up my domain to point to my server, but every now and then, when attempting to ssh in, I get the error: ssh: Could not resolve ...
1
vote
0answers
117 views

Is rbash secure if user login and ssh passwords are disabled?

I've got a server that I want to use as an SSH gateway for remote and local port forwarding. I don't want arbitrary commands to be able to be executed on it, only my scripts. I keep reading about how ...
1
vote
0answers
820 views

Login as domain user fails in Linux

Using pbis, joined a Linux (Ubuntu 14.04) node to the domain successfully. # /opt/pbis/bin/get-status LSA Server Status: Compiled daemon version: 8.2.1.2979 Packaged product version: 8.2.2979.68390 ...
1
vote
0answers
264 views

Nginx error on installing vestacp

I am trying to install vestacp on fresh dedicated server running ubuntu14.04 with nginx installed, however i have tried to remove this using... sudo apt-get remove nginx sudo apt-get purge nginx ...
1
vote
0answers
120 views

Why ssh tunnel cannot create in the virtualbox or qemu with force mode (-f)?

I try on the dedicated server root@debian:~# strace -e open -f sshpass -p guest ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null guest@198.51.100.11 -C -N -D 127.0.0.1:22220 -f [pid ...
1
vote
0answers
272 views

Managing Linux server from PowerShell using built-in credentials

I am the admin of a small Linux cluster running Ubuntu Server 14.04 and my workstation is Windows 10 Technical Preview (yes, a bold move to use it in production). There is an excellent free scriptable ...
1
vote
0answers
428 views

GSSAPITrustDns option missing from OpenSSH-6.7

I need to use the GSSAPITrustDns option to connect to a round robin service using Kerberos authentication. This works correctly using OpenSSH 5.3 and 6.6.1p1 on a selection of machines. I have an Arch ...
1
vote
0answers
49 views

Centralize way to prevent interactive logins

I have an Ubuntu server that is used for two primary purposes for my students: To hold on to files that students need to temporarily upload for my assessment (ie: I give them an input image, and ...
1
vote
0answers
1k views

Zabbix 2.2 SSH/FTP performance monitoring

I have a few systems I need to monitor which are out of my control. Ideally I needed a simple ping RTT test to see the status of the link. These systems do not respond to my ping requests so I need to ...
1
vote
0answers
92 views

Automatically add rules to iptables when an user logs in or logs out with ssh?

I'm looking for a solution to automatically add couple of rules to iptables when an user logs in and remove those rules when it logs out. I'd like to get somehow get the ip address of the user from ...
1
vote
0answers
832 views

SSH without invoking shell

I've managed to mess up some shared libraries on my system, and now my shell cannot be run, thus locking me out of the system. Both ssh, sftp, and scp, as configured on the remote system, seem to rely ...
1
vote
0answers
2k views

Match Group restriction in sshd_config does not work

I have got two groups in sshd_config: AllowGroups sftpusers sshusers And I have two groups below subsystem sftp /usr/lib/openssh/sftp-server: Match Group sftpusers,!sshusers ...
1
vote
0answers
273 views

Investigate strange message from syslog@stock

I've noticed that when I'm logged into my server I sometimes get spammed a message from syslog@stock. On this server I am running a website built with Laravel and a Teamspeak 3 server running with ...
1
vote
0answers
327 views

Kerberos and SSH login

I've just configured a RHEL 7 for windows authentication (idmap_ad). Every check works but if i try to ssh with a domain user i get the error: Connection closed by ::1 Here follows the ssh log in ...
1
vote
0answers
561 views

ssh reverse tunnel port forwarding connection fails

I am able to do a reverse port forwarding through the PUTTY GUI with settings similar to below. Once I apply this setting, I am able to run to the server box and run wget http://localhost:8080 <-- ...
1
vote
0answers
785 views

How do I install a bitnami LAMP module by SSH command line?

This is a pretty straightforward question that I cannot seem to find an answer for. I already have a running Bitnami LAMP stack on an Amazon EC2 instance. Where do put the installer (bitnami-roundcube-...
1
vote
0answers
736 views

Trusty Tahr 14.04 update disables SSH

Ive recently been updating some servers on AWS from Ubuntu 12.04 LTS to 14.04. For some updates the SSH Daemon does not appear to start correctly after the final reboot. Although all other service ...
1
vote
0answers
389 views

How to add two-factor authetntication to ssh?

I am trying to add 2FA to sshd using PAM from oathtool package. I want two ways to login to server: publickey and 2FA, or password and 2FA So far I managed to add 2FA to publickey authentication, ...
1
vote
0answers
251 views

TUN/TAP VPN no internet connection

I have set up a tun/tap vpn to a VPS. For this, I created a 10/24 network and gave the server the IP 10.0.0.100 and my client got 10.0.0.200. I can now successfully ping the server / access my mail ...
1
vote
0answers
554 views

Slow first login to a AD-joined Samba box

I have joined my first Debian box to an Active Directory (2008 R2). It works, I can log in with AD credentials, browse Samba shares. There is just a problem with the time it takes for someone to log ...
1
vote
0answers
148 views

Passwordless public key is not working

this is my fist help ask here despite being a daily reader in order to learn. I am working on a Unix environment (both Solaris and Aix servers) and my public key suddenly stopped working after months....
1
vote
0answers
170 views

LXC and proxying port 22 (ssh)

I have installed LXC on my Ubuntu 12.04 server and have created a couple of containers. I have only 1 external IP address, thus I am using nginx on my host machine to proxy HTTP requests from certain ...
1
vote
0answers
553 views

Identify mystery output on ssh login

How can I find where this dbus-launch error output is coming from? At first I thought it was related to motd but I currently have that disabled. X11Forwarding is turned off in my sshd_config as well ...
1
vote
0answers
644 views

MobaXterm fails to connect via SSH

I am facing a problem with MobaXterm when I try to connect to specific Linux machines. I get an error "Connection reset by peer". If I try to connect using putty, it works fine. If I use MobaXterm ...
1
vote
0answers
447 views

Linux TACACS+ auth for SSH but allow users to use public key auth

we have running tacacs environment for centralised login to our routers, firewalls etc and even most of our linux boxes to ssh what we would like to do is allow users to authenticate to SSH via ...
1
vote
0answers
139 views

SSH Tunnel not working, but not able to find the point of failure as it worked previously

I am having an odd issue wherein suddenly port forwarding stopped working in a particular scenario for me. By default I need a particular port forwarded on all servers I manage and so I have the ...
1
vote
0answers
473 views

scp cannot transfer file?

This problem is i cannot transfer file from my computer to server. I use command scp -v ./1.cap ug01:/cshome/twu5/, it take about 3 mintus, but scp did nothing. Then i terminal the scp. Here is the ...
1
vote
0answers
202 views

OpenSSH server fails to start after resizing EC2 instance

I had a medium EC2 instance which I changed to a small instance. After doing so I could no longer SSH in to the instance. Looking at the console output I see: * Starting OpenSSH server[74G[ OK ] * ...
1
vote
0answers
152 views

Built in chroot jail RHEL 5 returns No such file or directory

I need to create a chroot jail on my RHEL5 production server to allow a specific user to work with the less right possible, but with GIT. Here is my system configuration : RHEL 5 : Release 5.10 ...
1
vote
0answers
478 views

Amazon EC2 pem file stopped working suddenly

I was connecting to Amazon EC2 through SSH and it was working well. But all of a sudden, it stopped working. I am not able to connect anymore with the same key file. What can go wrong ? Here's ...
1
vote
0answers
201 views

ssh hangs in Ubuntu MaaS heterogeneous cluster

I have the following issue when using ssh on my local network. I have setup a small cluster of Xeon machines using MAAS. I have installed Ubuntu Server 12.04 on all machines and configured local ...
1
vote
0answers
849 views

private github repo in package.json breaking azure website deployment

Trying to deploy an Express app on an Azure "web site" through Github. I have a private repository in package.json dependencies: "dependencies": { "express: "~3.4.0", ... "private-repo": "git+...
1
vote
0answers
696 views

Access iomega StorCenter ix4-200d dump utility from SSH

My employer is in the process of returning a broken HDD to Lenovo/iomega. Unfortunately, before we can send it in, they require us to do a complete dump of the system's current state. Normally, I ...
1
vote
0answers
826 views

putty openssh rsa key signature invalid

I'm running a server with Debian Linux 3.2.46-1+deb7u1 with OpenSSH Server 6.0 and secured the login with a 2048 bit RSA key. Although connecting with OpenSSH Client from another machine succeeds, ...
1
vote
0answers
97 views

Legacy BSD PTYs instead of /dev/pts?

I'm trying to use an old database that only accepts connections from legacy BSD style pseudo-terminals /dev/ttyp's or /dev/tty's. It does not recognise /dev/pts/9 style PTYs. Connections via SSH. I ...
1
vote
0answers
337 views

Scientific linux 6.4 SSHD UseLPK Bad configuration file

i try setup openldap and openssh that last take keys from openldap base. I installed openldap-server-5.3p1 and configured him. Also I install openss-ldap-5.3p1. Added scheme openssh-lpk to cn=config ...
1
vote
0answers
104 views

Kerberos Single Sign On

I am trying to implement Single Sign On using kerberos with ssh. I changed the below files and restarted the ssh daemon. /etc/ssh_config GSSAPIAuthentication yes GSSAPIDelegateCredentials yes /etc/...
1
vote
0answers
49 views

Every command in a ssh session delays

I sshed to a ssh server, every command I exec has a delay, a simple w then return, it will take 1 second to response, UseDNS no has been set, and server is idle. I googled and tried some methods, but ...
1
vote
0answers
414 views

Watchguard - passwordless SSH login to block/ban IP addresses

I have Watchguard XTM22-W as my firewall. On it there are few 1-to-1 NAT policies through which I access local services (mainly SSH on different machines). All these machines have Fail2Ban installed ...
1
vote
0answers
248 views

ssh login attempts fail randomly - but work otherwise for same user

I'm having strange ssh login issues, where the login for a user does work in general, but sometimes it doesn't. here's a failed login attempt: Mar 28 14:49:55 hostname sshd[32247]: Invalid user ...
1
vote
0answers
663 views

SVN through a port-forwarded Tunnel “Network Connection Closed Unexpectedly”

I work in an organization with (unnecessarily) stringent security requirements. Last year, we set up an SVN server on a cloud machine. The requirements for this machine dictated that the only approved ...
1
vote
0answers
123 views

Amanda Backup between restricted networks [server and client not in same network]

We are planning to use Zmanda/Amanda community backup in our organisation. The problem we are facing is that we have our servers scattered at different data centers across globe, some are in client ...
1
vote
0answers
168 views

Setting up ssh on Debian to allow some users log in with ldap

I have a server in which users can't login via ssh but can upload files by sftp. This server has an ldap database of users and ssh and sftp are configured with the ldap, so none of the ldap users can'...
1
vote
0answers
674 views

Cannot connect to SSH or FTP through VPN connection to network

Ok so this may be something really obvious that I am missing out but hopefully somebody will be able to spot what I have done wrong or suggest some further steps. I am running a debian squeeze server ...
1
vote
0answers
163 views

How to make all of my IPs works in HyperVM XEN?

I've installed HyperVM on CentOS 5.8 final to make XEN VPS. I have 5 IPs, and added them to an IPPool. They are from *.123 to *.126. But when I add Virtual machines, just the first one (which indicate ...
1
vote
0answers
645 views

Empty sshd_config file

I run a Centos 5 server with a LAMP stack. I was told this morning that the server was down not serving web content. I then tried to restart httpd but it failed due to another process was listening on ...
1
vote
0answers
146 views

Permissions for Windows XP and ssh

I have Windows XP with browsershots installed on it, which is used to generate automatic screenshots from different webpages. Additionally I've installed there cygwin with sshd and enabled option "...
1
vote
0answers
697 views

CentOS 6 + OpenSSH 5.3 + umask are not working for me

I've been trying to set umask 002 to my sftp users, I already tried setting the umask in the following files: /etc/ssh/sshd_config: Subsystem sftp /usr/libexec/openssh/sftp-server #...
1
vote
0answers
386 views

Gitosis asking for password

I have a QNAP NAS where I installed Gitosis through Optware ipkg and it works so far. It's running under the user 'git'. The admin repo was initialized with the public key of my client machine like ...