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)

2
votes
1answer
47 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
48 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
38 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
34 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
33 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
224 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 ...
1
vote
0answers
369 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
93 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
79 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
62 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
32 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
28 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
1answer
72 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 ...
0
votes
0answers
80 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 ...
0
votes
1answer
257 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
36 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
vote
1answer
84 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 ...
1
vote
1answer
74 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
29 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
62 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
151 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
42 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
2answers
54 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
13 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
101 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
315 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
553 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
70 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
114 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
224 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
32 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 ...
1
vote
0answers
234 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
30 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
90 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
181 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
87 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
140 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
188 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 ...
1
vote
2answers
52 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 ...
-1
votes
1answer
28 views

Linux SSH abnormal activity

I found an IP 192.168.1.100 accessed to localhost with public key successfully for 38204 times within two weeks. I checked secure file for more detail about this IP. This client logged in for every ...
0
votes
1answer
148 views

How to scp file to remote servers' root directory and run sudo commands?

NOTE: The servers does not share the same password but I will setup no-password login at first. Here's the use case, I need to do these below step by step in my deploy.sh: scp files to remote ...
10
votes
2answers
617 views

SSH: Safe for client to host private RSA key?

Is it safe to generate a public/private key pair on the server, add the public key to the authorized_keys list, and then copy the private key to each client, as described here ...
1
vote
1answer
343 views

OpenShift access via terminal (SSH) [Permission denied (publickey,gssapi-keyex,gssapi-with-mic).]

I'm currently sitting on Ubuntu and would like remote access to my application on OpenShift. I have done the following to create a ssh-rsa key (I've replaced the fingerprint with xx:xx...): > ...
2
votes
1answer
50 views

SSH key authentication not working

I've a server running Ubuntu 10.04 (as a VM) to which I can't connect using ssh key authentication without being asked for the password. I've read a lot before posting but I really don't know what I'm ...
0
votes
1answer
53 views

Capistrano 3 hangs in git:check

I'm trying to deploy to a new ubuntu 14.04 box with cap staging deploy, but capistrano hangs during the git:check task: GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/<app_name>/git-ssh.sh /usr/bin/env git ...
0
votes
2answers
71 views

ssh pass original user to environment on server [closed]

First off, i do not know wether passing the information to the environment is the best approach, so i will start by detailing what i actually want to achieve. on a corporate scale, there are servers ...
2
votes
1answer
82 views

ssh command line specify server host key fingerprint

Using ssh command line (OpenSSH), can I specify the server's host key fingerprint? This is possible with winscp.com using (e.g.) -hostkey="ssh-rsa 2048 AA:BB:CC...etc I have read the man page a ...
2
votes
2answers
182 views

AuthorizedKeysCommand in OpenSSH without user

Is it possible to configure OpenSSH to invoke the AuthorizedKeysCommand without a matching user being registered locally on the host machine?
1
vote
1answer
32 views

Determine which key is successfully used for authentication with AuthorizedKeyCommands

As of OpenSSH 6.2, the option to use an external program for key pair based authentication is available with AuthorizedKeysCommand. According to the sshd_config man page, this program should return ...