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)

6
votes
3answers
123 views

Copying over SSH via Putty tools is slower than via WinSCP

Uploading from my Windows PC (1) to my Ubuntu machine (2) in another city using PuTTY tools is slow. I tested this over OpenVPN tunnel and via port forwarding to (2). It turns out that using rsync ...
2
votes
1answer
27 views

Issue connecting SSH after using rsync

Before using rsync to copy files from local to remote I was able to do passwordless login to the remote host using ssh. This always worked: $ ssh domaster Then I used rsync and everything was fine, ...
0
votes
0answers
20 views

Remote packet capturing using fifo and dumpcap

I'm currently working on two linux servers where one server is running in 2.6.18-274.el5(Server A) and the second one in CentOS 7 (Server B). My requirement is to capture the packets of the network ...
-1
votes
1answer
26 views

SFTP and SSH Logins [duplicate]

I've been doing my research and found some clues as to where I should be looking, but just can't quite get it perfect. I'm trying to create a new user, and allow them to have access to SFTP for file ...
0
votes
1answer
20 views

ssh tunneling lmgrd port what I've missed?

I've got 2 machines: one local , one flexserver I'd like to do a ssh connection for forwarding the TCP port of the flexserver. On the flexserver, lmutil lmstat -c 5280@localhost is working fine So I ...
0
votes
0answers
19 views

ldapsearch through ssh tunnel failing

I have following situation: 2 servers: a_server - this one from which I want to perform ldapsearch b_server - this is where LDAP directory located When I'm on b_server, this command ldapsearch -x ...
-1
votes
2answers
64 views

SSH key rejected by google compute engine instance

I generated my ssh key through the google sdk shell, then i went to put my key in FileZilla and connect to my google compute engine instance and it wont accept my key. How do i fix this?
17
votes
3answers
1k views

Is it possible to SSH access a server with a misconfigured subnet?

We have a server where one of our engineers misconfigured the subnet and now we are locked out of this server and the only access that I know of would work is a serial console from IDC (it means ...
0
votes
0answers
6 views

ssh bastion host proxy command [migrated]

This is a weird situation where the same command works when inputted directly in shell but not when it's a ProxyCommand in ssh config file. So this works: $ ssh -A -R 40022:git.some.pt:22 -t -t ...
0
votes
0answers
46 views

vagrant ssh - asks for password after adding synced_folder

I can vagrant ssh into my box fine Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Apr 13 13:05:26 2015 from 10.0.2.2 ...
0
votes
1answer
38 views

Can't connect to Ubuntu VPS via SSH,SFTP

When I try to login to my VPS using SSH and SFTP it's not connect to the server. Then I power off and power on the VPS by the VPS provider control panel (digital ocean). Once it boot up, first few ...
0
votes
1answer
25 views

Remote bash script execution via ssh causes local script to stop

I have a setup which behaves in a way i cannot get my head around. So I have a local bash script generateTrafficOnHosts.sh which reads IP addresses from a file. It then calls a bash script ...
0
votes
0answers
31 views

How to configure SSH host keys in cloudformation template?

I'm trying to configure an EC2 with known SSH host keys on boot using cloud-init in a cloudformation template. But now I can't SSH into the server. It's tricky to debug :-) Here's the userdata part ...
0
votes
0answers
17 views

Setup directory links in user SFTP root directory with copSSH on Windows

I'm trying to configure copSSH to allow a specific user to access several folders on the C drive. However, if I create simple directory symlinks (using mklink /d), then the SFTP clinet can't get into ...
0
votes
0answers
20 views

OpenSSH Won't Start on Ubuntu EC2 Instance

My Amazon EC2 instance's openssh server fails on boot ever since I scaled my instance. I have tried following these instructions here: ...
0
votes
0answers
25 views

Debian encrypted home directory setup fails

Here's the problem: # ecryptfs-migrate-home -u <user> INFO: Checking disk space, this may take a few moments. Please be patient. INFO: Checking for open files in /home/<user> Enter ...
-1
votes
0answers
8 views

Encrypted ~/Private directory not mounting/unmounting via SSH [duplicate]

I'm using Debian 8. I can't seem to get my encrypted ~/Private directory working on my server. Here's what I did: Copied over SSH public key Installed ecryptfs-utils and modprobed'd ecryptfs Ran ...
0
votes
0answers
51 views

can' t access ec2 instance for additional user with sftp or ssh - key refused

I keep getting server refused our key error with putty/public key rejected error in filezilla when trying to access my ec2instance with a new user. Access works fine for both ssh and sftp with the ...
1
vote
0answers
20 views

Synology ssh port receiving too many intrusion attacks, how to ban systematically? [migrated]

I have a synology NAS which I leave at home, and leave it open so I can access it remotely from the office. One of the useful things to do is enable the ssh port so I can access it with my terminal. ...
0
votes
1answer
205 views

PHP version conflict in Amazon Linux EC2 instance

I've lunched a fresh instance from the AWS -> EC2 console panel. After that when I logged into the instance via SSH and executed the following line: (note I executed first the sudo yum update before ...
0
votes
1answer
24 views

Limit ssh access to only one Repo

I'm hosting multiple private repositories on bitbucket. I also have access to a private repository let's call it repo1, on bitbucket which is not mine but we pull from it on a server, let's call it ...
-1
votes
0answers
10 views

Postgre SQL , user with “SUPER USER” and all permission to particular database can't read a specific column [migrated]

Iam trying to edit a website , I created a user for myself and granted all permissions , and set up that user as SUPER USER , using the user postgres I still can't read a specific column (which is ...
2
votes
1answer
54 views

Moved /home to new disk, SELinux denying access to /home for sshd

Yesterday I added a drive to a Centos6 VM box, created a /home mount point on the drive and then moved a user (jenkins in this case) to it to free up space from the / mount point. This seemed to work ...
0
votes
0answers
28 views

VNC/SSH: How to execute a command after logging in? [migrated]

I'm looking for a way to create a VNC console user that executes the command screen or bash immediately after logging in so they get their own restricted shell for executing commands etc. Screen/bash ...
1
vote
1answer
34 views

RSync incremental backups, backing files that haven't changed. Does file access time cause a re-backup? [duplicate]

I backup my LAMP server using RSync over SSH. Currently, it's on an hourly incremental schedule. From a 14GB full backup, it's backing up a further 15~MB hourly. Looking at the files it's backing ...
1
vote
0answers
19 views

Connecting to EC2 via SSH within Vagrant

I manage a service that has two major components to it: A single product server which runs on EC2 A number of staging environments which runs within Vagrant The staging environment connects to the ...
0
votes
1answer
43 views

SSH timeout issues not consistent

I am not sure if anyone else have had issues with SSH timeout I setup a FRESH install of CentOS 6.5 minimal without touching the SSH congfig at all and when i log into it via SSH using putty..it ...
0
votes
1answer
78 views

Cannot access SSH & neither any other service

I have installed a Red Hat 6 server as a virtual machine in a windows 2012 enterprise edition Hyper-V. The installation is over and I configured the static IP address using GUI tool provided in the ...
0
votes
0answers
15 views

Accessing Git Repository on OpenShift: passphrase not recognized

I am trying to deploy an application on OpenShift. In order to deploy it, I am made available a git repository where I need to push my application. That repository can be accessed only after providing ...
0
votes
0answers
4 views

Keychain does not work in Cron [migrated]

I have a problem with my backup script which is using keychain. The script works fine when fired via command line but doesn't work as expected when called via cron (does not transfer any data to the ...
0
votes
2answers
45 views

Disable ssh login on specified time for particular users

I would like to disable ssh login to my system for particular users say X,and Y on specified time 17.00 to 18.00. so how to achieve this ? any help would be appreciated.
0
votes
1answer
9 views

Server connects without passphrase via putty but asks for passphrase from the native command line?

I am trying to connect to an EC2 instance and it has a .ppk security key. I am not an expert on server frankly and I am still try to figure things out by trail and error. I usually connect to my ...
0
votes
0answers
40 views

Unable to deploy laravel application on OpenShift

I have git pushed my entire Laravel code base for the application that I had created on my localhost to my OpenShift server. But nothing seems to have come out of it. The webpage is still blank. Can ...
0
votes
3answers
96 views

How to reset root password on a Linux VM on Windows Azure?

I have a Linux VM running for over a year on Azure. I have forgotten the password to my account. I am however still able to ssh into the vm as it has my ssh key. Note that the root account does not ...
5
votes
2answers
535 views

Automatically set SSH user

I have one ssh server that I seldom connect to and which requires to use a different user than the one I use to log in to my system. When I just execute ssh example.com then ssh will automatically use ...
0
votes
0answers
38 views

Strange issue with nginx proxy upstream and ssh port forwarding

We were using nginx legacy till now, but we upgraded our system to 1.6.2 recently. We have a port forwarding of ssh as well as load balanced nginx server for two separate internal servers. The ...
2
votes
0answers
86 views

One-liner to create UNIX user, add in SSH key, disable root over SSH [closed]

For many low end hosting solutions you get a virtual machine with a root SSH access. The first thing you need to do is to add new UNIX user (you), add SSH key, check SSH connection works and then ...
1
vote
2answers
79 views

Permission Denied (Publickey) from OS X to Ubuntu

I know this question has been asked more than a few times, but I can't work it out on my machine and I feel like I have tried everything. I want to log into my ubuntu machine with ssh using a public ...
0
votes
0answers
20 views

Sftp Log for every Jailed User

I've a sshd_config file like the following: Match user foo ChrootDirectory /mnt/foo-jail/ ForceCommand internal-sftp AllowTCPForwarding no AuthorizedKeysFile ...
0
votes
0answers
98 views

Socks proxy on Mac OS Yosemite

I can't figure out why my ssh-created socks proxy works with curl but not with Chrome + Mac OS Yosemite. Socks proxy created with ssh -D 8080 -p 5432 -i mypubkey.pem my-user@my_server_ip Tested with ...
-1
votes
1answer
24 views

how to configure fail login delay using iptables

Like in Subject, I need to set particular delay i.e. when wrong password is provided. I can't use PAM. Thanks for any help.
1
vote
3answers
76 views

Using a computer with many COM ports as a low cost out of band solution?

I'm trying to come up with a cheapo out of band solution for my cisco routers in our data center. I want to be able to access them directly from the console remotely so if they are not accessible from ...
5
votes
1answer
118 views

Best way to restrict some SSH users to publickey authentication only (disable password authentication)

I'm running Mac OS X Server.app on Yosemite and I have SSH enabled for users with the default settings in /etc/sshd_config (publickey and password auth enabled by default). However, I need to ...
1
vote
1answer
30 views

(ssh) Connection closed by

unfortunately I don't have access to ssh server, I can only see: Platform: i586-pc-linux-gnu Compiled with: liblua-5.2.3 openssl-1.0.1k libpcre-8.35 libpcap-1.6.2 nmap-libdnet-1.12 ipv6 Compiled ...
1
vote
0answers
59 views

CentOS 6.5 ssh ChrootDirectory not working

I have been trying to configure my CentOS 6.5 minimal 64 bit machine to allow SFTP users to connect and get jailed to specific folders. I can sftp in using the unix commmand: "sftp user@localhost" and ...
1
vote
1answer
70 views

Chroot on Ubuntu 14.04.2 using Jailkit - /dev/pts No such file or directory

For the past few days I've been trying to setup a chroot on my Ubuntu server but I've been running into an issue. I've tried several different methods of setting up a chroot on Ubuntu including just ...
-2
votes
0answers
14 views

SSH to local machine over internet vs over local network [migrated]

I can SSH into a machine on the local network in two ways: (1) Via local ip: ssh 192.168.1.xxx (2) Over internet (using port forwarding): ssh -p xxx mydomain.com What are the differences? In ...
0
votes
0answers
3 views

CoreOS on VirtualBox only works with one adapter at a time [migrated]

I'm trying to learn more about CoreOS. (I'm not using Vagrant, just plain-old VirtualBox.) So I created a disk using coreos-install. Unfortunately, I can't find my original cloud-config.yaml file, but ...
-2
votes
0answers
28 views

Connect to database server inside a tunnel inside a router [migrated]

I'm using Ubuntu and trying to connect to a database server wich is accessed by a tunnel in my server wich is inside a router and I only have ssh connection to my server. Is there a way to do that? ...
1
vote
2answers
39 views

sshd: logging client's public key

I need to run an SSH server and log the IP & public key of any client that attempts to connect (without actually granting access). The use case is this: I deploy this web app to a remote host ...