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

learn more… | top users | synonyms (2)

0
votes
0answers
12 views

TCP Multipath using several SOCKS Proxys as uplink

I would like to set up a server, that uses several SOCKS Proxys as uplink to the internet. All Multipath setups I found were about using "normal" uplink like LAN, Cable or DSL, but none that uses ...
0
votes
1answer
52 views

File not being created on run PHP Script via sh bash script Centos 6

I have a question regarding why via php -q -f /home/user/public_html/file.php (this script contain a small script that create a file). file.php content: $csvFile = 'http://example.com/file.csv'; ...
0
votes
1answer
44 views

SSH: how to display a given windows registry settings?

I have 2 virtual machines: VM 1: Windows XP VM 2: Ubuntu I access to Windows XP from Ubuntu using SSH. Is there a command I can run via SSH on Ubuntu to display the settings of a given Windonws ...
0
votes
1answer
76 views

SSH not working over IPSec tunnel (Strongswan)

I configured a small network on a cloud virtual machine. This virtual machine has a static IP address assigned to eth0 interface that I'll call $EXTIP. mydomain.com points to $EXTIP. Inside, I have ...
1
vote
1answer
70 views

Using npm install as a MS-Windows system account

I have a node application running on Windows, which I want to be able to update automatically. When I run npm install -d as the Administrator account - it works fine, but when I try to run it through ...
6
votes
3answers
775 views

Prevent being locked out when configuring SSH and iptables [duplicate]

When you are configuring iptables or SSH over SSH and the data center is thousands of kilometers away (and getting someone there to plug in a KVM is hard), what are some standard practices to prevent ...
0
votes
1answer
34 views

Use a specific forwarded key from SSH-agent?

Let's say I have a key for Github, along with other keys. I've added lots of keys to my ssh agent (ssh-add -L returns lots of lines) at my home computer A. In my .ssh/config I have set up which key to ...
-1
votes
1answer
155 views

problems with putty while establishing ssh connection (Ubuntu Server)

since two days I am facing a really weird problem. I have receantly installed ubuntu server 14.04 LTS on a workstation. It has a fix IP address, which I can successfully ping from other computers in ...
0
votes
2answers
44 views

SSH connection falling down

I've set up a connection with autossh that creates some tunnels at system startup, but if I try to connect, after successful login (with RSA key) connection fall down, here a trace: debug1: ...
1
vote
0answers
56 views

Elastic beanstalk access private git repo

I am trying to currently add an ssh key to my elastic beanstalk instances using .ebextensions commands. The keys I have stored are in my application code and I try to copy them to the root .ssh ...
0
votes
1answer
111 views

Cant copy / paste large text over SSH

Running ssh from Windows -> linux and I cant paste text larger than ~20 chars. If I do it hangs the session. This is happening to others in the office using various methods to ssh. cygwin, mobaxterm ...
2
votes
0answers
60 views

ssh to ILO on a DL380 gives key_verify failed for server_host_key

When I try to do connect to the ILO 4 of a DL380 I get the following error: ssh -vvv ilo@me2_ilo OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data ...
1
vote
2answers
323 views

scp using a password on the command line

I am trying to write a script that will deploy a build created on my desktop machine (windows/cygwin) to a machine in my test environment (linux). I would like to use scp to copy the build to the ...
-3
votes
2answers
41 views

Can I install SSH on the client but not on the server? [closed]

Is it possible to install SSH only on the client peer without installing it on the server ? My client machine needs to communiate using SSH with my Server. Is this scenario feasable ?
1
vote
4answers
216 views

Fedora, ssh and sudo

I have to run a script remotely on several Fedora machines through ssh. Since the script requires root priviliges, I do: $ ssh me@remost_host "sudo touch test_sudo" #just a simple example sudo: no ...
1
vote
3answers
60 views

Why would TCP wrappers stop working for sshd?

On a couple of CentOS 5 servers sshd seems to have become 'unwrapped' - previously I was using TCP wrappers and hosts.allow/hosts.deny to control access, but these are now not being used. If I execute ...
2
votes
1answer
79 views

connect-to-oracle-db-9i server-using-ssh-tunnel-via-putty

I am trying to connect ORACLE DB behind NAT so i choose SSH TUNNEL via putty so here is the information Global i p example: 122.54.34.12 LAN i p example : 192.168.3.103 ORACLE DB_PORT : 1521 and ...
-1
votes
1answer
37 views

How can i change the default ssh rsa key used? [closed]

I'm using Ubuntu and I have a few keys which i'm using to connect to remote machines. The key I created using ssh-keygen -t rsa is located in my home folder at ~/.ssh/ and called rsa_id. I have ...
0
votes
0answers
67 views

SSH Fails to Disconnect after Interruption

I have a set of issues, all combining to make for one nasty problem. The background: I have a server behind a firewall reverse tunneling using an external VPS (we'll call the server "the server" and ...
2
votes
1answer
167 views

FTP 550: Permission Denied

I suddenly get the error 550: Permission Denied in Filezilla when I try to create a new directory. A few days ago I changed some settings on the server regarding ssl and imap settings, but I don't ...
1
vote
1answer
94 views

Capturing output from a remotely executed command via SSH fails in CRON

This question is in a direct relation to this one: ssh fails to execute remote command when run from cron bash script - works from CLI I'm not able to comment on the accepted answer as I don't have ...
0
votes
1answer
87 views

Hanging after establishing SSH connection

Prolog I was working on my Ubuntu VM (running on Azure) when I was suddenly disconnected last night. I had not scheduled any restart myself, so I am not sure what could have caused this. I was logged ...
1
vote
0answers
66 views

OpenSSH server accepts public key then immediately closes the connection without any error message

I am trying to connect to an SSH server I was able to connect to in the past but using different OpenSSH client versions. Starting from a Cygwin OpenSSH_6.6.1, OpenSSL 1.0.1g 7 Apr 2014 client, going ...
1
vote
1answer
44 views

How can I ssh to vm from mac under vpn

I have a vmware fusion which is installed a rhel in it, I can ssh to the rhel from my mac. But when I enabled VPN on mac, I can not ssh to rhel anymore. Details are as below: I tried Reverse SSH ...
-1
votes
2answers
486 views

SSH: Permission denied (publickey,gssapi-with-mic,password)

==================================================================== UPDATE: It turned out the configuration of sshd on host2 wont allow password login. Thanks to people answered this. Also don't ...
1
vote
8answers
156 views

Can I (practically) block access to the SSH port to my country only?

I'm thinking that blocking access to the SSH port to allow for my country only is an obvious step, but I can't see a practical way to do this. I'm in the UK if it matters. I have full access to the ...
10
votes
2answers
457 views

How do I edit the SSH “last login” message?

I would like to edit the Last login: information that is printed out along with the message of the day, yet I can't find the script which generates and echoes out. Where is it defined, in an ...
1
vote
1answer
24 views

curl is giving wrong result via ssh

Curl is working fine on the node itself: [ec2-user@smokebase1 ~]$ curl -s -I --retry 3 --header 'Host: smoke-base.dev-test.com' ...
1
vote
0answers
68 views

iptables: unknown option “--dport”

When I try to run iptables -A control_in -p tcp --dport 22 -j ACCEPT I get the error message iptables v1.4.20: unknown option "--dport". Everything I've found on the internet and serverfault relating ...
0
votes
1answer
55 views

ssh_exchange_identification Can't Access to SSH Amazon EC2 (Lock Out)

I get an error in terminal when I'm trying to access my instance in Amazon EC2. I use Centos 6.x server WHM/cPanel, i have access to WHM, but i DON'T have a complete access to FTP or SSH. ssh: ...
1
vote
1answer
36 views

Relax ssh rate-limit rules for certain ip addresses

We've written some tools to automate common development tasks. One tool, for example, ensures all our git repositories are up-to-date. For this to work, our tool needs to connect to our git server and ...
1
vote
1answer
338 views

how to connect to mongodb server via ssh tunnel

It was easy for me to connect to my remote mysql server on AWS using a sequelpro, however I'm struggling with doing the same thing with mongodb. I tried setting up an ssh tunnel via command line ...
0
votes
0answers
105 views

ssh_exchange_identification: read: Connection refused

Everytime I'm trying to SSH into my Amazon EC2 Server i get an Error below: Zoc6 Error: ssh_exchange_identification: read: Connection refused Tried: Terminal (mac) - Failed Reinstall Zoc and ...
1
vote
1answer
73 views

Multiple SSH keys per user on the server

Say I run a server which accepts SSH connections, and being a wise person, I use SSH keys instead of passwords to connect to it. There is one user, webmaster, which has access to and controls the ...
1
vote
2answers
59 views

CentOS ssh connection stalls after server bandwidth upgrade

I have a few linux servers inside a customer that recently MASSIVELY increased his bandwidth - from about 0.8/5mbps to 25mpbs/100mbps... (yes 100mpbs!) this is very good, but ever since my ...
0
votes
0answers
159 views

SSH hangs after authentication

When logging in to one of my servers over ssh, it just hangs after authentication. This is the output on the client with -v. OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading ...
0
votes
2answers
39 views

ssh connection to Debian machine hangs when updating firewall rules

I am running a script which updates firewall rules on a Debian machine via SSH as well as other actions. However, after the script runs, my connection just hangs. I am able to close the terminal and ...
1
vote
0answers
41 views

com.maverick.ssh.SshException: EOF received from remote side [Unknown cause] [closed]

When I tried to log in AIX server, through a java code/application, I am getting the below exception, com.maverick.ssh.SshException: EOF received from remote side [Unknown cause] at ...
1
vote
1answer
61 views

How to access FTP or SFTP in Webmin?

I have a linux server running webmin that I cannot connect to with FTP/SFTP. Usually I can connect to any server, eventually. But not this one. I can login and create any kind of user, do anything. ...
2
votes
2answers
81 views

SSH authentication between my VPS and Bitbucket fail

I'm trying to setup SSH authentication between my VPS and Bitbucket for configure later automatic deployment via Capistrano (for web projects) and Capifony (for Symfony2 projects) so I follow this ...
1
vote
4answers
92 views

Is it risky to disable SSH passwords? [closed]

This is a very basic question, do bear with me.. I'm setting up a VPS and it seems as though disabling SSH users from logging in with a password is recommended for security. If I authorize the SSH ...
3
votes
1answer
160 views

Grant temporary access to Ubuntu 14.04 EC2 machines

My company intends to hire an external contractor for some dev-ops jobs on our EC2 servers. We use Ubuntu accessed using a .pem certificate file. For obvious reasons, I do not want to share my .pem ...
-1
votes
1answer
73 views

Can't access EC2 Instance through SSH After iptable Flush

Before i was able to connect to my EC2 instance, then after i flush the IPTABLE, i can't access it anymore, every time i try to connect, it get TIME OUT. Error i receive: FAIL: TIMEOUT [SSH] FAIL: ...
1
vote
3answers
336 views

SSH remote port forwarding failed

Follow-Up: It looks like the rapid series of disconnects coinciding with a few months of running each server is probably coincidental and just served to reveal the actual problem. The reason it ...
1
vote
1answer
58 views

Pam is unable to make users home directory

I have an ubuntu 12.04 LTS server that is tied to Active Directory. This is a git server running gitlab. Rather than using gitolite it uses the gitlab shell In the logs I notice that every time the ...
0
votes
1answer
708 views

SSH problems - server unexpectedly closed network connection

Since yesterday I have problems connecting to my server using SSH/SFTP. I can only connect after a restart of my server. When I try to make a connection after a couple of minutes, I can no longer make ...
3
votes
1answer
183 views

Public-Key -or- Password & Google Authenticator for SSH Login

I found an article (http://www.howtogeek.com/121650/how-to-secure-ssh-with-google-authenticators-two-factor-authentication/) that explains how to configure OpenSSH to ask for a Google Authenticator ...
2
votes
1answer
196 views

How to stop/prevent SSH bruteforce

I'm very new to network administration, so please regard that I'm not that experienced yet. I have a Ubuntu root server with plesk panel. Yesterday my friends and I noticed that the quality of ...
1
vote
1answer
86 views

Upgrading openssh-server on XenServer 6.2

I have XenServer 6.2 which only has version: OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 I tried to upgrade it using: yum -y reinstall opnssh-server or yum -y install opnssh-server ...
0
votes
1answer
38 views

No output from remote Debian server

When I login to my Debian server over SSH, it "freezes": in interactive mode, I don't get the prompt, if I say ssh server 'ls', nothing happens. I can, hovewer, use Bash built-ins, for example ssh ...