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)

0
votes
0answers
12 views

RHEL 6.5 on VMWare workstation 11 - unable to connect via ssh [migrated]

I have installed a RHEL 6.5 (NIRMAN) on vmware workstation 11 and added two ethernet cards eth0 - has been bridged to direct physical network (192.168.1.71) eth1 - NAT eth0 is pinging well from my ...
0
votes
0answers
7 views

Passwordless ssh login on Mac OS without -i option [migrated]

I have a ssh key without a password to login to a remote system. Let's assume the remote server is called server-name and has the same user as the one I'm currently logged in. In the console if I do ...
0
votes
1answer
56 views

SSH works only on the standard port

I can connect to my remote server only if I use the standard 22 port. When I change the Port (to 40004 for e.g.) in /etc/ssh/sshd_config I get an error: ssh: connect to host 123.45.67.890 port 40004: ...
1
vote
1answer
21 views

AWS Ubuntu 14 - Can't SSH After Reboot

Had an issue where an instance became unresponsive and was forced into a reboot. After the reboot I could ping the server but could not SSH into the server. Ultimately I created a new instance and ...
0
votes
0answers
9 views

connect server via ssh using ldap account anywhere

I'm new in using openldap I'm using centOS7 to be my openldap server my question is, can I login server via ssh using ldap account without any client settings? something like when I done setting ...
0
votes
0answers
10 views

SFTP chroot jail not working

Trying to follow this tutorial but for Arch Linux. /etc/ssh/sshd_config: # override default of no subsystems #Subsystem sftp /usr/lib/ssh/sftp-server Subsystem sftp internal-sftp ...
3
votes
0answers
37 views

Is it possible to ssh or rsync into a system whose file-system has remounted itself read-only?

I need to login to a system that went into a read-only state. I can ping it just fine but I can't ssh in anymore. Is there some special command line flag/parameter I can pass ssh that lets me login ...
0
votes
1answer
12 views

screen -r and screen -list only show last screen

My problem is pretty much as the title describes it. I am running ssh session and on my server I screen for multitasking. My issue here is that I have at least 4 screens open and detached, but screen ...
1
vote
0answers
9 views

Ubuntu 14.04 - rsync corrupting SSH configs/keys?

I have two Ubuntu 14.04 servers S1 (user root) and S2 (user dataman). S1 is responsible for handling file uploads and transferring backups to S2. On S1 I am using PubKey authentication to S2 for ...
0
votes
0answers
16 views

Fabric: Using ssh_config settings on env.gateway

I have a relatively standard AWS setup, that looks like this: [ App server ] \ [ App server ] -- [ Dev gateway ] [ App server ] / Where the servers are only accessible over 22 from the gateway's ...
1
vote
1answer
26 views

fail2ban says banned, but can still log in

Running fail2ban 0.8.14 on CentOS 6.5 with Python 2.6.6, fail2ban puts my IP in the banned list, but doesn't actually prevent me from logging in. Here's an example of a failed ban in ...
0
votes
1answer
4 views

Using Unison / rsync over SSH to synchronize sites where full file system access is required yet root login is disabled

Assume two sites A and B with file server at either end. The contents of /storage should be synchronized between the sites, preserving ownership and permissions. There's no all encompassing group that ...
0
votes
0answers
8 views

ssh attack attempts on OS X 10.10 — should I worry/respond? [migrated]

If I turn on OS X "Remote Login" (i.e., ssh access), my console log gets regular messages like the following: 22/04/2015 13:05:23.364 sshd[2118]: error: PAM: authentication error for root from ...
0
votes
0answers
16 views

why does having ~/.ssh/id_rsa.pub cause GUI dialog asking for SSH password even though SSH_ASKPASS is empty?

How the problem started For some reason I did not have my id_rsa.pub file in ~/.ssh. So I copied it off one of my servers to ~/.ssh/ on my machine... so that I have it, so I can copy it to servers ...
-1
votes
0answers
28 views

ldapsearch is working but still unable to login user for ldap server from client [on hold]

I followed this procedure for ssh and ldap access for users to login to ubuntu machine. ldapsearch is working nicely but I am unable to login user. The following error message is coming. sshd[]: ...
-1
votes
0answers
13 views

things to do to ensure that data is secured on my virtual server [on hold]

I'm not much of an administrator but I'm maintaining a virtual server with Ubuntu OS where my website is hosted. I often connect to it using ssh, ftp and whatever the protocol MySQL uses. As my ...
48
votes
5answers
6k views

I accidentaly forbid SSH connection to a remote server… What's next?

Let's say it again, we all make mistakes, and I have just made one. A brief history: I was doing some stuff on a VPS (Debian) I'm renting, when I noticed some strange behaviour. Using the netstat ...
0
votes
1answer
20 views

ssh login hangs on “Last login”

I'm trying to login My CentOS server with ssh, but it hangs on "Last Login" for a long time then it return -bash: /usr/bin/id: Argument list too long -bash: [: : integer expression expected What ...
0
votes
1answer
25 views

Having trouble ssh into ec2 instance with elastic ip address

I have a new ubuntu EC2 micro instance in a VPN with what i think should be access from the outside world to ssh. $ ssh -i ./sendy.pem ubuntu@52.5.229.252 ssh: connect to host 52.5.229.252 port 22: ...
0
votes
0answers
29 views

Can't push git updates & run Unix commands when connecting via SSH [migrated]

I have installed java 8 on my bluehost VPS. I have followed http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/ instructions . In order to add directories to PATH variable I have added ...
0
votes
0answers
70 views

Ubuntu Server unresponsive after some days [on hold]

Ahoy! I have an Ubuntu Server [Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-49-generic x86_64)] running on a Supermicro X10SBA board. System is installed on an encrypted LUKS partition and apt update ...
-1
votes
0answers
20 views

Add ssh keys in windows in batch script

Everytime I restart my pc, I have to add my 3 ssh keys again ssh-add ~/.ssh/ssh-key-name and I have to enter the password can I do this with a batch script to add them faster?
0
votes
0answers
16 views

can't ssh on ubuntu, ec2 suddenly. stuck on “Sending env LANG = en_IN”

Suddenly I am not able to ssh (with pem file passwordless login & with password both) My pem file has not been changed, It was working fine till yesterday. Here is ssh -v output ...
0
votes
0answers
16 views

how can i have ssh access to local PC (with share and dynamic ip) from a remote server( with static ip)? [closed]

i want to access to my local PC (Ubuntu 14.4) from my server (CentOs) via ssh in order to control my local PC from every where. my local PC is connected to internet via a share ip and does not have ...
-5
votes
0answers
22 views

LINUX ADD USER Command shell [closed]

Someone know how i can add a user with a directory and password already set, a single command?
0
votes
0answers
9 views

How to stream video from my Debian server? [closed]

I have a dedicated debian server that contains a lot of video files and music files. I want to be able to watch these videos and listen to music from my laptop(also debian). Im primarily using VLC, ...
-3
votes
0answers
10 views

Can SSH puphpet configured Vagrant box, but can't ping or connect through browser [closed]

We have a puphpet configured Vagrant box that works perfectly well on one mac, but then when run another machine of a similar configuration, we can SSH in to the box but can't ping it or load it's IP ...
0
votes
0answers
7 views

glusterfs unable to read gsyncd status file

Goal I wanted to try glusterfs geo-replication in some virtualboxes on my computer for later use distributed on multiple sites. Configuration I installed glusterfs 3.6 on ubuntu 32bit servers like ...
1
vote
0answers
17 views

Two allowed paths in rsync command in authorized_keys

I have a question about rsync restriction in authorized_keys command. I need to copy files via rsync from one server to another without prompting password. There is no problem, but I need to specify ...
1
vote
1answer
17 views

ssh remote command execution quoting

I found this solution that works for me, but I don't understand how it does work given that the sed command encloses its own parameter in single quotes, and the whole ssh command is also passed in ...
6
votes
3answers
111 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
26 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
19 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
24 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
14 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
15 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
48 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?
16
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
28 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
25 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
20 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
25 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
14 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
19 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
16 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
39 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
132 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 ...