Secure Shell (SSH) is a protocol primarily for encrypted shell connections.

learn more… | top users | synonyms (2)

1
vote
1answer
85 views

How do I set up an ssh -w tunnel VPN between AWS VPC and a Linode?

I'm probably not going to use this for the long term, but I still want to know why this isn't working. I've set up a simple ssh tunnel from my Linode instance to one AWS EC2 instance within my VPC. ...
0
votes
2answers
81 views

How to configure ssh access for an unattended linux-distro ISO image for local development env similar to accessing cloud service VM instances?

I configured Packer to build unattended ISO installs of various Debian-derived distros to VMware fusion. As I configure the VMs manually for ssh access, it times out and the build artifacts created ...
1
vote
1answer
209 views

Why is fail2ban not banning this attack?

I have fail2ban installed to ban bruteforce attempts on the ssh password. There are business requirements for not disabling password authentication on this machine. fail2ban was installed using the ...
0
votes
1answer
123 views

Cannot SSH to Azure Linux VM from terminal

ssh azureuser@xxx.cloudapp.net : 22 when I connect and enter the password I created, then it just goes back to the local prompt and does not actually show the remote prompt. I'm thinking I need to ...
0
votes
0answers
71 views

Windows Git Linux Tools - Prevent SSH timeout in terminal

I installed Git and included the Linux tools. They rock, except for the SSH times out after five or ten minutes when I am running in the console. It just freezes the terminal until I hit a few ...
0
votes
0answers
20 views

ssh server stops on ESXi 5.5 for no reason

I have a ESXi host that I have never been able to access via ssh. I have tried every tutorial I can find on enabling ssh via the command line and the vSphere client to no avail. I enable the ssh, ...
0
votes
1answer
59 views

Writing a fail2ban multiline regex

I've got some troublesome hosts trying it on with an SSH server I run, and I'm trying to ban them using fail2ban. Problem is, I haven't done much work with regexes, and even less with Python regexes. ...
0
votes
1answer
29 views

sshd log file entries from the past mixed in with currently occurring entries [duplicate]

I have sshd log entries from the past seemingly randomly mixed in (in time) with the presently occurring log entries. No remote hosts log to this server, rsyslog serves only this box. External ...
2
votes
1answer
83 views

Cannot SSH from Production Server to Backup Server until Restart SSH on Backup Server

We have a hosted dedicated server running CentOS 6.5 that is the production server for our website. I have a local server that has been repurposed as a backup server also with CentOS 6.5 and is here ...
-2
votes
1answer
97 views

How to open sftp connection and execute sftp command in the same shell command [closed]

Is there any possibility for opening sftp connection to remote server and execute sftp command in same line from shell. Something like this: sftp user@example.com && put /tmp/test.txt /tmp/ ...
2
votes
1answer
218 views

SFTP-server uploaded files having wrong rights

I have been trying to figure out what is wrong with the file rights. When I am uploading files using FileZilla all the files get rights -rw-r--r--. I would want them to have -rwxr-xr-x. I have tried ...
0
votes
1answer
68 views

Amazon EC2 server cannot connect and access via putty out of sudden

I have a ubuntu server setup in amazon ec2 for few months. Today, out of sudden, the server status is not reacheable and putty is not accessible too. I've also rebooted the system, it seems to be ...
0
votes
0answers
52 views

Openshift for Play: The remote end hung up unexpectedly

I am trying to launch a play project in openshift. The first phase which was nearly 15% of the project was successfully completed and uploaded. So, I guess the initial configuration was okay. Now, ...
0
votes
0answers
20 views

Lost ssh-control on aws ec2 instance after Ubuntu update

During major update of Ubintu on my aws ec2 instance, system asked me if I want to disable ability to ssh under root user, as for most systems it's not used, but simplifies attacks. As by default I ...
2
votes
0answers
80 views

sshd accepting pub key authentication only for root

I have a peculiar problem with a headless linux box. It's a very high level "embedded" system supposed to handle NAS + mail + ftp + svn + a lot of other server stuff. I received it preinstalled and I ...
0
votes
1answer
62 views

initial ssh login to 14.04 server from Linux Mint 17 always times out

Very strange one this. I have some EC2 nodes running standard 64 bit Ubuntu 14.04 LTS. I use Linux Mint 17 on my laptop, which is also based on 14.04. In my office (in West Cambridge) I can ssh in ...
-1
votes
1answer
31 views

Why does ssh -f create multiple processes when a pipe is used? [closed]

When I on my Linux host do ssh -f 10.10.47.47 "/opt/omni/bin/mbuffer -4 -v 0 -q -I 8024 | /usr/sbin/zfs receive tank/test" then I see on the remote host 27349 ? S 0:00 bash -c ...
2
votes
2answers
36 views

Why is rsnapshot claiming source directory doesn't exist?

I'm trying to set up a backup system using rsnapshot which will copy files from a remote location into a local one. I've got rsnapshot set up, as far as I can see correctly, but when I run rsnapshot ...
1
vote
0answers
76 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 ...
0
votes
1answer
123 views

SSH access to hosts groups based on user groups using LDAP

This is my entire test ldap database for now: # extended LDIF # # LDAPv3 # base <dc=ldap,dc=example,dc=com> (default) with scope subtree # filter: (objectclass=*) # requesting: ALL # # ...
0
votes
1answer
460 views

How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. So, there is a NAT server in public subnet which forward all ...
0
votes
0answers
35 views

Enable activity logging on Cygwin open SSH (sftp) server install on Windows Server 2008 [duplicate]

I've successfully installed and configured OpenSSH using the Cygwin package on a Windows 2008 Server. I have also installed the Syslog-ng Cygwin package and configured it so that I receive basic ...
0
votes
0answers
18 views

How to setup separate projectName/gitolite-admin.git configuration repositories with Gitolite?

I want to setup a Gitolite based installation for hosting git repositories in a small organization for a limited set of projects (100 projects at most, probably less than 30) with repositories under ...
1
vote
0answers
175 views

Unable to use rsnapshot to sync non-owned files but able to do it with plain rsync command

I am trying to use rsnapshot to sync remote file to my own computer. However, I have some trouble when I need to access files which are not owned by user who is SSH-ing to the remote machine. My ...
-1
votes
1answer
79 views

VPS novice - What is wrong with sshd_config? [closed]

I've recently acquired a VPS running Debian 7 32bit Minimal and I'm very new to servers. When I try to connect using PuTTY and the SSH Access Information, I get the message "Disconnected:No supported ...
0
votes
1answer
105 views

ssh operation timed out while trying to connect from home [closed]

I got server (server X) I'm trying to connect using ssh. But I get 'operation timed out'. It happens only when I'm in home. If I change internet provider it works. Though I can connect to other ...
0
votes
0answers
62 views

PAM: authentication error

I am trying to connect from Windows 7 Jenkins slave to a MacMini machine in one of the final build process of Jenkins build. This has been working for some time now till last nigh. There has been no ...
-1
votes
1answer
42 views

2 out of 3 ssh connections are reset and disconnects immediately

I've having an issue where 2 out of 3 ssh connections are reset and disconnects immediately. what could be wrong? I would like to solve it without a reboot. I have raised the maximum number of open ...
0
votes
1answer
48 views

ssh ProxyCommand and ControlPath to two different hosts with same ip address behind different proxies

The problem: ssh config with ControlPath set to ~/.ssh/master-%r@%h:%p A third party tool which invokes ssh with a ProxyCommand ssh <proxyhost> --pty=false nc -q0 %h %p The problem is that ...
0
votes
1answer
58 views

Accessing server with its own public key

I am using ssh2_connect() in PHP to move files from one server to another. However for the time being there are not two servers and I am just connecting the server to itself. This is setup so that ...
0
votes
2answers
171 views

Knife can't ssh into newly instantiated EC2 server

I just set up a new Chef environment as I'm currently expanding my knowledge of Chef. I have a Key Pair set up on EC2, I have my Knife configuration set up. When I attempt to spawn a server, the node ...
0
votes
1answer
135 views

Importing available module into PowerShell v2.0 results in error

I'm trying to import a PowerShell module to do some SSH work. I've unlocked all of the files I'm trying to import in the module. The module itself is located in a directory where modules are to be ...
1
vote
2answers
28 views

Is there a way to copy over the ssh passwordless authentication to a new RHEL linux server w/o being prompted on the initial login? [duplicate]

We will be migrating to a new server and copying all our accounts over to it. The issue we are encountering is now: There is a large number of ssh accounts and they require us typing yes on the ...
0
votes
2answers
209 views

how to use authconfig for ssh through LDAP connection

I'm newbies on Centos7. The ssh connection is working for all user which is the /etc/passwd. That's meaning I can connect to my server with this kind of users I added The other users which are ...
1
vote
0answers
63 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 ...
0
votes
1answer
154 views

SSH On Another Port Debian 7.7

I cannot seem to SSH into my server on another Port. I have an identical setup on another server, but I am baffled now if my issue is with IPTables or something else. Does anyone see what I am doing ...
1
vote
2answers
178 views

Unable to ssh to GCE Permission denied (publickey)

I created a VM via bitnami in Google Compute Engine. Previously I was able to ssh via the bitnami web interface. I tried to ssh via terminal on my Mac but kept getting the Permission denied ...
1
vote
2answers
158 views

Check if a path exceeds maximum for Unix domain socket

Operating systems limit the length of a path of a Unix domain socket. How can I check whether a particular path is within that limit? Or, to put it another way, how can I check the maximum permitted ...
1
vote
1answer
25 views

ec2 instance timed out

So I was ssh'd into my running instance while trying to set up Postfix for mailing.. I was fallowing this tutorial: http://flurdy.com/docs/postfix/#ec2. I got to the Shorewall part and fallowed all ...
4
votes
5answers
767 views

SSH public key login fails without pattern

(previously posted at stackoverflow by error) I'm running a bunch of servers with Ubuntu 14.04.1 (sun,hyperion,...) all of which use public keys (OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 on all ...
0
votes
0answers
99 views

rsync termiates after a while unexpectedly

I run a rsync command with nohup in ssh session, but after a while it returns this error: rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [generator=3.0.9] rsync error: ...
2
votes
2answers
230 views

Run local command after ssh session ends

I have some HP switches that I log into via ssh. The switches send a terminal command to disable line wrap ("rmam" in terminfo parlance), but then fail to reenable it, which screws up my terminal ...
1
vote
1answer
56 views

What is the best way to distribute a rsa ssh key over a large amount of servers?

I know one way, running on a list of server like so: for server in $(cat server.list); do ssh-copy-id user@host done But I was wondering if there's a better way to do it? something automatic which ...
1
vote
2answers
544 views

Centos: rsyslog blocks sshd and also local login if selinux is active

I have a very curious problem on an centos 6.5(now 6.6) machine. After an update between june 11th and october 21th the trouble begins (packages: http://pastebin.com/gXvaycLL). After a restart in ...
-1
votes
2answers
69 views

Make hidden folders invisible sftp [closed]

My client needed sftp server for sharing files, so I created sftp server on a amazon ec2 ubuntu machine and added different users. Now their need is when user login to sftp server either via winscp ...
-1
votes
1answer
48 views

Detect faulty drive in RAID 10 array

I've been told that I can only verify my HW RAID array is working perfectly with KVM. However, I want to be automatically notified when there is a problem by my server. Is there a way via SSH (that ...
3
votes
2answers
167 views

Improving speed of large file transfer over high latency link

So, I've recently had the need to pull a large file over the internet from one of our offices overseas. Both offices have 50Mbit fibre links in both directions, but the round-trip-time is horrendous ...
0
votes
0answers
51 views

Intermittent SSH problems with a specific server from a specific Wifi router

I've been ssh'ing into a specific server from my home office via Wifi and Time Warner Cable internet for years with no problem. In recent months, I started having problems, where I'd be unable to ...
-1
votes
2answers
56 views

Copy the rsa keys from one machine to another

Someone asked me to provide my public id_rsa key to make be able to connect to their server via ssh. I did so and it's working fine. I want to do that from my another laptop as well without having to ...
0
votes
0answers
61 views

How to config PORT KNOCKING on CSF and access it by linux?

I'm trying to run port knocking work on a CSF on a small VPS, i setup this: 1 - the result of csf first test ok 2 - TCP_IN = "53,80" TCP_OUT = "53,80,113,443" UDP_IN = "53" UDP_OUT = "53,113,123" ...