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

learn more… | top users | synonyms (2)

0
votes
0answers
30 views

ssh: connect to host port 22: Connection refused -> AWS

Just moved offices. Our production servers are on AWS and the Security Groups have being updated to reflect our new External IP. I have tried another computer with the same response both Mac OS X. ...
-4
votes
1answer
17 views

Disable ssh auth by keys

Usually all disable ssh login with password only. I'm asking about reverse situation. Does sshd_config allow to disable authentication with keys only?
1
vote
3answers
3k views

SSH “connection refused” diagnostics?

I'm getting a constant "connection refused" while trying to connect over SSH from OS X to a CentOS VPS with a WHM control panel. SSH is enabled in WHM, and I've generated SSH keys. I also tried SSH ...
9
votes
4answers
695 views

How can I run arbitrarily complex command using sudo over ssh?

I have a system that I can only log in to under my username (myuser), but I need to run commands as other user (scriptuser). So far, I have come up with the following to run the commands I need: ssh ...
2
votes
3answers
4k views

SSH issues: Read from socket failed: Connection reset by peer

I compiled OpenSSH_6.6p1 on one of our server. I am able login via SSH to the upgraded server. But I am not able to connect to other servers running OpenSSH_6.6p1 or OpenSSH_5.8 from this. While ...
0
votes
1answer
17 views

Does using -o with ssh not read the config file?

The title pretty much explains my entire question. The reason I'm asking is that I have a specific IdentityFile set for a certain host but the command that is being run which is out of my control uses ...
1
vote
5answers
702 views

SSH aborts with Too many authentication failures

I'm attempting to run this simple provisioning script but I'm encountering errors when running vagrant up and then vagrant provision commands. I read that I needed to create a /etc/ansible/hosts file ...
2
votes
2answers
70 views

RSync stalls after 32768 bytes

I have an issue which I am struggling to understand. I have a server which is hosted by a business parter on their network but my team is responsible for installing and configuring software to this ...
0
votes
1answer
40 views

when ssh from mac to ubuntu server, it will be added to hosts.deny

information I asked the same question in stackoverflow.com and was told that this would be a better place to ask. I'm running an Ubuntu Server 13.10. I can connect to it using SSH from any computer ...
0
votes
1answer
2k views

Can't connect to windows via ssh

I downloaded cygwin and ran ssh-host-config. I'm trying to connect using ssh -l micah myserver it then says micah@myserver's password: I enter the same password I use to log into windows and it ...
1
vote
1answer
40 views

NIS users suddenly can't login to SSH

I've recently added a new (client) server to my NIS. For a month or so this worked fine, but since today I suddenly can't login through SSH anymore. Some other services (e.g. IMAP) on the same server ...
0
votes
2answers
57 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 ...
1
vote
2answers
3k views

git ssh problems

I have a git repo I am trying to use this command on a remote. $ git push origin master ssh: connect to host port 22: Bad file number fatal: The remote end hung up unexpectedly. I am trying to do ...
0
votes
3answers
67 views

Deny connection to and from a specific hostname on Ubuntu/Apache2

My wordpress EC2 server was probably hacked. When running iftop command I can see that my server sends and recieves data from a hostname name "i157panamamails.com". This hostname never goes away and ...
2
votes
2answers
686 views

Setting up a chroot sftp on debian server

I'm trying to allow a user "user" to access my server by either sftp or ssh. I want to jail them into a directory with chroot. I read the instructions here however it does not work. I did the ...
0
votes
1answer
35 views

Site to site ssh tunnel

I have two virtual environment at different locations, and I want to set up site to site ssh tunnel for contact between those networks. I have configured the ssh tunnel on both sides with routes to ...
0
votes
0answers
3 views

Vagrant :: Unable to run vagrant up; Connection timeout. Retrying [migrated]

I'm starting to migrate from wamp to the laravel homestead vagrant box however I've been stumped when it came to starting the box. I've downloaded and configured all assets and ran vagrant up to boot ...
-3
votes
2answers
43 views

How to use same static IP from anywhere

Not sure if this belongs here or is a dumb question so feel free to kindly tell me to get out of here(I'm New to all of this). So I need to be able to have SSH access to a server for pulling down ...
3
votes
3answers
1k views

BackupPC - transfer fails intermittently

BackupPC works good on my LAN but has problems backing-up a remote server of mine. I'm using rsync over ssh and have increased max ping to 500 because the remote server is far away. Here is my error ...
2
votes
1answer
2k views

SSH public key authentication - can one public key be used for multiple users?

I am wanting to deploy a RHEL5 server using Kickstarts and for security I only want to allow remote clients to ssh to the server as the user 'Developer' (I have already configured the sshd config to ...
1
vote
1answer
742 views

Multiple sshd instances using different PAM configurations

I set up multiple open ssh daemons on different ports and would like to have them use different PAM configuration profiles. Is that possible? As far as I understand PAM determines the configuration ...
3
votes
6answers
2k views

Same command on multiple servers

I'm just wondering if there is any fellow sysadmin with the need to execute one command on multiple servers. If so, what technique are you using? I have grown tired to ssh-ing to 3-5 servers and ...
1
vote
2answers
657 views

SFTP does not work for one user, SSH does work

I can login with password via root and user1 I can login with Filezilla via root but not user1 Here is end of Filezilla log Trace: Initialised HMAC-SHA1 server->client MAC algorithm Command: ...
0
votes
2answers
309 views

Number of SSH connections rises, and blocks data?

We have a client server setup, where the client sets up an SSH tunnel and uses port forwarding to send data to the server: ssh -N -L 5000:localhost:5500 user@serveraddress The normal number of SSH ...
0
votes
0answers
9 views

Connecting to Access Switches Management Console via SSH

In a typical lab setup: [USER] -> [Cisco 2960X] -> [Cisco 3560X] -> [Firewall] -> [Router] 3560X carry all the internal routing, VLANs and is the VTP server. It has below IP settings: Management ...
0
votes
1answer
40 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 ...
0
votes
2answers
59 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 ...
11
votes
1answer
641 views

Why does Google recommend removing SSH keys from GCE for security?

Google recommends removing SSH keys from GCE instance to secure SSH. That does not make any sense to me. The keys are there for a security, right? When I remove the keys, SSHD stops working. I ...
1
vote
1answer
716 views

SVN server with svn+ssh protocol over custom port

I am running Ubuntu 12.04.2 LTS as virtual machine and there is vShield also at the front with enabled firewall and some NAT modifications. There are also other machines in my VPS configuration, but ...
1
vote
1answer
39 views

SSH fails with host not found, but NSLookup finds that host

I have a small business network with several servers on it. To simplify things, I added a BIND9 DNS server on one of them, with entries for each of the local machines, i.e. vpn.example.com, ...
0
votes
0answers
20 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
22 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
51 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
34 views

Signal delivery system for routers [closed]

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 ...
6
votes
3answers
2k views

Test whether a user has sudo privileges without requiring user input

I have a local shell script that performs a number of tests on a remote host, before delivering the payload; one of these tests being whether the user has sudo privileges, checked simply with sudo -v ...
1
vote
1answer
47 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
41 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
25 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
39 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
43 views

Where to safely store ssh private key? [closed]

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 [migrated]

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
278 views

Running Ansible locally inside a Dockerfile SSH authentication issue

I'm unable to run my ansible playbook inside a Dockerfile due to authentication issues. Here's my dockerfile: FROM ubuntu:14.04 MAINTAINER hyperfocus # Update system and install ansible RUN apt-get ...
-2
votes
1answer
21 views

How to get rid of firewall blockage to ssh to my ec2 instance [closed]

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 ...
2
votes
6answers
1k views

Unable to log into Linux server after resetting root password

Today i reset the password for root user. After i connect via ssh. While reset the password, i exactly typed the which is in my notepad. Immediately after that, when i try to connect the ssh again ...
-1
votes
1answer
41 views

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

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 ...
8
votes
5answers
33k views

How can I edit the welcome message when ssh start?

I have a vps for my website hosting. It is running a ubuntu server. Every time I logged in my server by ssh, it displays a lengthy welcome message in my terminal. Linux node61.buyvm.net ...
-4
votes
3answers
982 views

Not using SSH Pubkey Authentication is really serious security flaw compare to regular Password Authentication

How would using PubkeyAuthentication would be more secure than using PasswordAuthentication, considering the following facts: Default SSH port is moved from its default Firewall blacklists an IP ...
0
votes
4answers
887 views

Can't login via ssh after upgrading to Ubuntu 12.10

I have an Ubuntu 12.04LTS instance on AWS EC2 and I upgraded it to 12.10 following the instructions at https://help.ubuntu.com/community/QuantalUpgrades. After upgrading I can no longer ssh into my ...
1
vote
1answer
1k views

Zenoss: Getting SNMP stats over SSH

I have the SSH connection working. I have it successfully modeling the device (Ubuntu Server, in this case). What I can't get to work is the SNMP portion. It sounds like I have to custom add the ...
1
vote
2answers
22 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 ...