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

learn more… | top users | synonyms (2)

0
votes
0answers
13 views

Why is Putty throwing Publickey error in cygwin ssh call?

I have used the Windows CMD tool to push to github and Heroku using ssh keys through PLINK but we've changed over to Mercurial as our SCM which puts a complexity in pushing to Heroku. For instance, ...
1
vote
1answer
19 views

Making proxy available on remote server through ssh tunneling

I know I can use ssh tunneling to create a "proxy" on my machine so that I can make all the traffic generated locally go through a remote server. Like this: $ ssh -D 12345 myuser@remote_ssh_server ...
3
votes
1answer
33 views

Can I use something like a tunnel for SSH in this Linux/Windows Remote Desktop scenario?

I have a Linux server (call it server-L) which i cannot directly ssh to it. In order to ssh it i should connect to a windows server(call it server-W) and then make ssh connection from it to my Linux ...
1
vote
2answers
32 views

Signal delivery system for routers

My network have one server and many routers (around 300 and will be more, all working on OpenWRT). Routers don't have public IP and server can not connect to them. But i need to know that routers is ...
0
votes
1answer
38 views

rsync over ssh issue

I RTFMed rsync to the bone, but I just cannot figure out what I'm doing wrong here. I'm trying to sync two folders across SSH. Folders are identical save for one file, as you can see here: ...
2
votes
1answer
38 views

How to get the list of SSH tunnels connected with the username used?

The connection is established from Desktop(D) to Server(S) with ssh -D PORT username@Server. From the Server, the list of ssh users connected can be obtained with who, but the ssh tunnels are not ...
0
votes
1answer
23 views

Deal with brute force ftp attack [duplicate]

While Checking the /var/log/secure on my centos server have found lot of attempts of failed login by using unknown usernames, from a list of ip from Japan And China How to hide my server from these ...
-1
votes
1answer
35 views

Move directory from local machine (linux) to SSH server

i am trying to move one my folders from my local machine to my ssh connection. i have been trying with the following command: scp -r /var/www/foo/ root@******/var/www/foo However when i try i get ...
-4
votes
2answers
35 views

Where to safely store ssh private key?

I'm using ssh keys to log in some servers. My private keys hasn't a passphrase, but I'd like to store it in an encrypted online storage service. Is that safe? Are there any free available options? If ...
0
votes
0answers
10 views

tmux session stops updating screen randomly

I use tmux 1.6-2 on a Debian 7.6 (wheezy). I open a new session and start a long running script that gives updates in form of a progress bar and an activity indicator (spinning bar: /-\|/ ). When ...
-2
votes
1answer
20 views

How to get rid of firewall blockage to ssh to my ec2 instance

I've made my ec2 instance on AWS and I worked on it at home like a charm and everything went fine (connection wise) Today I went to the library and when I tried to ssh into my ec2 using PuTTy as I ...
0
votes
0answers
28 views

SCP transfer doesn't work and SSH ls freezes

I am trying to copy some file via ssh with a SSH-RSA public key. I've already accepted the host key in my server and viceversa so the keys are synchronized. Now I try to connect via SSH to the host ...
-1
votes
1answer
36 views

Login by ssh , change the remote PS1 and don't quit the remote ssh shell

I want to change PS1 when i ssh another centos strshell = 'PS1="remote!"' os.system("ssh -i %s -l%s -p%s %s %s"%(SSH_KEY,SSH_USER,SSH_PORT,des,strshell)) ssh quit automatically. I want to ...
1
vote
2answers
18 views

Issue with sharp in host vars Ansible

Since # is considered as a comment in /etc/ansible/hosts I'm unable to use a password containing a sharp. [hosts] host1 ansible_ssh_user=user ansible_ssh_pass=userpass ansible_su_pass=My#Password ...
2
votes
2answers
98 views

How to run sshfs through ssh command?

I tried to run sshfs through ssh in one command. For example, if I do : $ ssh user@host user@host$ sshfs host:/src /target Everything is ok. Now, if I tried this in one command : ssh -t "sshfs ...
0
votes
2answers
46 views

ssh timeout issue connecting to an EC2 instance on OS X

I am new to AWS and not a networking expert but curious to know more about it. I created a VPC with a public subnet only. Then i created an EC2 instance using an Ubuntu 14.04 64-bit pv AMI image ...
0
votes
2answers
27 views

How to get the Host value inside ~/.ssh/config

Within a ~/.ssh/config or ssh_config file, %h will give you the HostName value, but how do you get the Host ("alias") value? Why would I want to do that? Well, here's an example Host ...
0
votes
1answer
23 views

Amazon Security Groups: Change Inbound SSH Port

How can I change the Inbound SSH Port on my Amazon Security Group? When adding a new rule for SSH, the Port defaults to 22 and cannot be edited. Is this possible? Please note: This question is ...
0
votes
2answers
46 views

Run Bash Script Another Server

I want to run command one by one, for change the names of the directories on the server. When I run script, directories renamed in server 1. But, directories are not found in server 2. What the ...
0
votes
1answer
40 views

Can't ssh from CentOS 6.5 to SUSE LINUX 10.1

We have quite an old installation of SUSE LINUX 10.1 (i586) in the office. The problem shortly: I can successfully ssh to it from machines in the same LAN (192.168.1.0) but not from machines in the ...
-2
votes
2answers
27 views

FTP and SFTP logs track in CentOS

How it is possible to track the changes made to a directory using tools like FileZilla or XFTP ? because we found some files suddenly got missed from server, in history also nothing was found so ...
0
votes
1answer
38 views

Run sshd on multiple ports but different domains [duplicate]

I want to run my sshd server on multiple ports but different domains. The server should be reachable as following: ssh -p 12345 example.com ssh -p 22 git.example.com I tried to modify ...
0
votes
1answer
21 views

fail2ban block ports rules iptable

I just installed Ubuntu Server 14.04 and don't have much experience with IPtables. I am trying to get a basic setup going where I only accept SSH connections on port 22 and 2222. I actually have that ...
-1
votes
2answers
68 views

SSH Public Key Authentication only works if active session exists before

I have a rather strange problem with my SSH configuration. I set up my server with the help of a Remote Access Card and configured everything with a KVM viewer. So while being logged into the server ...
0
votes
0answers
3 views

network adapter not listed in my virtualbox vm [migrated]

I am trying to SSH into a virtual machine I have set up in virtual box from my Windows 7 host machine. I would like to make several development machines and ssh into them from my host machine, as well ...
0
votes
1answer
58 views

haproxy transparent mode on 14.04

As per my previous question SSHD real-ip behind haproxy - I'm now attempting to setup HAProxy to transparently pass the IPs to the backend services. tproxy modules loaded / and supported in haproxy ...
-2
votes
0answers
20 views

How do I stop rsync/github from asking my private key passphrase? [closed]

I've tried ssh-add when I first login. It still asks every time. How do I get rid of it asking for my passphrase?
-1
votes
1answer
32 views

After password change, SSH connection won't work

I've been connecting to my server via SSH for years. Always works fine. Today I decided to change my password. After successfully changing the password, and then trying to connect again, I received ...
0
votes
2answers
47 views

SSH into EC2 with dynamic public IP address

Typically I set ssh aliases as follows: ssh -i ~/path/key.pem ubuntu@public-host-name.compute-x.amazonaws.com But with EC2 instances, the public-host-name changes whenever an instance is stopped and ...
0
votes
2answers
54 views

SSHD real-ip behind haproxy

I'm trying to setup an ssh over https connection using haproxy. I'm currently looking for a way for SSHD to get the source ip from haproxy, similar to reading X-Forwarded-For or X-Real-IP headers. ...
0
votes
1answer
30 views

Does Git server over SSH requires SFTP?

Does Git server over SSH requires SFTP module? Official manual lacks info here: http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-Server
0
votes
1answer
67 views

How does ssh work when client and host are on the same machine?

I illustrate my question with the help of docker containers but this example is orthogonal to the rest of the problem. In fact any program that allows the use of bridge interfaces and ssh would do. I ...
-1
votes
1answer
74 views

SSH over HTTPS through haproxy

I'm trying to setup an ssh over https connection using haproxy. I haven't found any working examples, so any help would be appreciated! client config; ~$ cat ~/.stunnel/stunnel.conf pid= client=yes ...
-1
votes
4answers
56 views

need to make password less login for same linux server with same user [duplicate]

I need to make passwordless login for same linux server with same user. [airwide@eir ~]$ hostname -i 10.3.7.73 [airwide@eir ~]$ ssh airwide@10.3.7.73 airwide@10.3.7.73's password: how can make to ...
0
votes
2answers
58 views

Cant ssh to my public ip [duplicate]

I have been able to log on to my dev box (which is in my home network) for a while now, using ssh username@publicip however recently this has become impossible due to the following error ...
-2
votes
2answers
27 views

SSH using ssh_key from a different account

Is there a way for a user to ssh as a different user using ssh_keys? For example, i have host A B and C. User X SSHes from A to B as himself ( A -- as X --> B ) Now the user wants to SSH to C from ...
2
votes
3answers
78 views

How to configure SSH access for key authentication for another client?

I know that if I want to configure SSH access for key authentication, I need to use the following command: ssh-keygen -b 2048 -t rsa -C “mypassphrase” I then need to copy the codes created in ...
0
votes
3answers
140 views

git private server error: “Permission denied (publickey).”

I followed the instructions here in order to set up a private git server on my Amazon EC2 instance. However, I am having problems when trying to SSH into the git account. Specifically, I get the error ...
1
vote
2answers
31 views

How do I resolve OpenSSH protocol mismatch? [closed]

I'm trying to get around a hospital firewall. I can SSH into my devbox on Port 443: ssh -L 8080:devbox:443 root@devbox -p 443 But I can't actually get the devbox to load in my browser. When I go ...
0
votes
1answer
35 views

Fail2Ban is not adding iptables rules

Fail2Ban is not adding iptables rules to block attackers. I'm running CentOS 6.5 (32 bit) Here's what I did: fail2ban was installed via yum using the epel repo I copied jail.conf to jail.local I ...
7
votes
3answers
98 views

ssh host key certificates, find validity period remotely?

I have an environment where I use ssh certificates to authenticate ssh host keys. I'm talking about the kind of certificates created by running ssh-keygen -s /path/to/ca -h .... These certificates are ...
1
vote
0answers
39 views

Ubuntu 14.04 causes SSH error, but not Ubuntu 12.10 [duplicate]

I have two different servers, one has ubuntu 12.10, the other has ubuntu 14.04 LTS. I need to SSH files to a 3rd remote server. The 14.04 LTS server throws an error when attempting to SSH. This is ...
0
votes
0answers
64 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 ...
0
votes
5answers
111 views

Should I change the SSH port to < 1024? [duplicate]

Many server configuration guides recommend that the SSH port should be changed to something > 1024, for obscurity and to avoid conflicts. This is interesting, because it recommends using a port < ...
-2
votes
3answers
45 views

Public Key authentication fails while using the -i parameter on ssh command

I have to do public key based authentication on two Linux servers. Machine 2 (192.168.3.132) username: vfx_30 home dir: /home/vfx_30 ssh keys: /home/vfx_30/.ssh/id_rsa /home/vfx_30/.ssh/id_rsa.pub ...
0
votes
1answer
26 views

Receiving incoming traffic without external IP and port forwarding

I have a virtual machine in the datacenter with an external IP. I can connect via SSH to this virtual machine from my desktop, but this virtual machine has no way of accessing any ports on my desktop. ...
0
votes
1answer
48 views

Group of workstations refuse to SSH to one another, but can connect just fine in and out to others

I have a group of Ubuntu 14.04 workstations that are all clones deployed via image. After imaging, they are assigned a static IP and they also delete/regenerate their host keys. Each of them on their ...
-1
votes
2answers
44 views

Add ssh public key to group instead of users on centos 6.5

I am a newbie to linux administration. I have a box with centos 6.5 x64. Ive been configuring ssh access via public/private key. Ive been wondering if I could add the public key to a user group ...
1
vote
1answer
36 views

starting tomcat remotely fails to start

When I run my start command via ssh it tells me that its started but it is in fact not the case. Catalina logs does not seem to capture any events either. However stop and status works. ssh -t ...
1
vote
1answer
17 views

Segmentation fault during apt-get install

$ apt-get install openssh-server fails with Segmentation fault when it attempts to generate keys. This leaves me with a half-complete installation, but the binaries are in place. I also notice that ...