SSH (Secure SHell) is a protocol for running commands on a remote computer.

learn more… | top users | synonyms

0
votes
2answers
51 views

SSH authenticity couldn't be established

Last night I SSH'ed to different systems.... one system/SSH reported that the "authenticity of HOSTNAME couldn't be established......." and it asks if I want to continue or something, I didn't and ...
0
votes
0answers
9 views

Why does my PPTP connection work if I DMZ the server behind the router, but it does work if I use port forwarding?

Why does my PPTP connection work if I DMZ the server behind the router, but it does not work if I use port forwarding for the wide area network? Is there another port I need to open/port forward ...
0
votes
2answers
47 views

How is pipe involved in ssh?

My internet connection was lost When I ssh to a remote machine over the internet. It says $ Write failed: Broken pipe How is pipe involved in ssh? Does ssh implement communication between the two ...
1
vote
2answers
138 views

Keep the ssh session

I am using Macbook developing a client application. I want to access server logs, so I opened a shell terminal and established a ssh connection to the server and access the log file there by ...
0
votes
2answers
61 views

My ssh server stopped working after I did something [closed]

I'm very new to Linux, BTW. The ultimate goal for me is to run applications and their GUIs on a (Mac) computer from another computer. The first step is to just use SSH to access and control the ...
4
votes
3answers
5k views

Is there any way to improve Putty on slow connections?

I'm working with putty but have a slow connection to the server. It's not slow everywhere and I don't need to get it faster. There is latency between when I type and when the text is displayed in the ...
0
votes
0answers
16 views

ssh_exchange_identification: read: Connection reset by peer (Have access to the server)

I'm getting "ssh_exchange_identification: read: Connection reset by peer" for ssh into a machine. However, it only happens to my machine and it works for the other person next to me (we share the same ...
4
votes
1answer
467 views

How do I stop ssh-agent trying all keys with agent forwarding?

Often I'll connect via SSH to VM instances to deploy code from private Bitbucket repositories, cloning repositories via git over SSH. Today I was getting the error: conq: repository access denied. ...
0
votes
1answer
40 views

SSH: how to connect withou password knowing only passphrase?

Short question: I got a task to update a git repository. Information I received is following: host, port, user name and ssh key's passphrase with information that key's type is rsa. How can configure ...
28
votes
7answers
18k views

SSH to decrypt encrypted LVM during headless server boot?

When I installed Ubuntu 10.04 and, now, 10.10, I was offered the option of enabling "encrypted LVM" for my hard drive. After choosing that option, I am prompted for my password during boot to decrypt ...
0
votes
1answer
759 views

Double port forwarding - SSH

NOTE: I'm not explaining why I want to do this. But here is the requirement. There are 4 hosts. Host A, Host B, Host C, Host D Host A is running some application which can be accessed at port 8001 ...
1
vote
2answers
697 views

Intermittent 'ssh_exchange_identification: Connection closed by remote host' error

While there are many questions on this site and others addressing this very issue, I haven't yet found one that seems to address what I'm experiencing. When trying to ssh a linux box from a MBpro ...
2
votes
1answer
40 views

How can I alert on completion of a long task over ssh?

My desktop is Ubuntu, which has the handy program notify-send, which pops up an alert on the desktop. It also has the following handy alias built in: $ type alert alert is aliased to `notify-send ...
5
votes
4answers
2k views

Autocomplete server names for SSH and SCP

I have a few servers configured in ~/.ssh/config, such as alpha and beta. How might I configure Bash such that the commands ssh al<tab> and scp file.tgz al<tab> autocomplete the names of ...
1
vote
3answers
42 views

how to execute commands on remote server as different user

I am trying to connect to server B from server A using ssh and executing commands using some other user. However, when I try searching for a pattern in log file it says "cannot open log file" below is ...
2
votes
1answer
47 views

Troubleshooting SSH on Ubuntu Server

I am trying to setup SSH-key authentication on Digital Ocean Cloud server. I first added my rsa_id.pub to my account and autoloaded it to the ubuntu droplet when I created it. There seems to be an ...
0
votes
1answer
24 views

rkhunter warning about ssh root access when that access is not allowed on the system

I just ran rkhunter --check and all was good except this: Checking if SSH root access is allowed [ Warning] What does this warning mean? SSH root access is not allowed on this ...
7
votes
1answer
9k views

Single command to login to SSH and run program?

Is there a way to structure a single command to login via SSH to a remote server and run a program on the remote login shell? In the OpenSSH manual, it reads "If command is specified, it is executed ...
20
votes
5answers
10k views

How can I tell what version of OS X I'm on from the command line?

I frequently find myself SSHing into various OS X machines, and it'd be useful if I could tell what version of OS X I was on when I'm doing that. uname -a doesn't quite work, since Darwin kernel ...
3
votes
1answer
50 views

Program run in SSH accessing pulseaudio on the machine where it runs

I would like to run a program remotely (through ssh) but with audio going to the remote machine where the program actually runs. This would normally work with ALSA, but pulseaudio apparently checks ...
1
vote
2answers
280 views

Always look up non-FQDN domains as .example.com?

When I connect to the company OpenVPN they don't push their DNS to my computer, which means I have to type the FQDN for the hosts I e.g. SSH and HTTP to. Question Is it possible to configure my ...
2
votes
1answer
2k views

SSH agent forwarding, multiple hop

I tested this setup with Linux origin machine - everything is the same - only the first hop can use keys from origin machine. Initial problem I'm trying to set up SSH agent forwarding with multiple ...
2
votes
1answer
42 views

Add a static text layer/bar in terminal

I have a script that I use to automatically generate port forwards for SSH, since I am working in several terminal windows across different servers all day, and this checks whether or not the port has ...
7
votes
5answers
3k views

Is there a way to check a users SSH key to see if the passphrase is blank [duplicate]

I'm looking to lock down our Solaris 10, RHEL 5, and SLES 11.2 servers. It has come to my attention that some of the users have no passphrase for their SSH keys. Is there a way I can check for this ...
17
votes
3answers
8k views

How can I determine if someone's SSH key contains an empty passphrase?

Some of my Linux & FreeBSD systems have dozens of users. Staff will use these "ssh gateway" nodes to SSH into other internal servers. We're concerned that some of these people use an unencrypted ...
0
votes
1answer
1k views

How to execute Netscaler commands through a remote machine via SSH connection

I have been trying to execute some NetScaler commands like "bind" & "unbind" through a Linux Box via an SSH Connection. Now the Problem is, Manually we are able to enter & execute commands on ...
0
votes
0answers
23 views

Cygwin and OpenSSH

I am having issues setting up and installing the latest Cygwin with Openssh. Similar to this issue Installing SSH via Cygwin I can get this setup and working fine when the server is not connected ...
8
votes
2answers
2k views

How to efficiently use 3D via a remote connection?

I have one weak PC (client) but with acceptable 3D performance, and one strong PC (server) which should be capable of running an application using OpenGL twice, i.e. once locally and once remotely for ...
2
votes
1answer
748 views

Chroot gone wrong, can't ssh with user

Distribution: Scientific Linux 6.5 (Carbon), not exactly your typical brand of linux. Tried to chroot a user using these instructions for SSH and quite obviously failed, and now I can't even log in ...
6
votes
5answers
15k views

Disable user shell for security reasons

We have several user accounts that we create for automated tasks that require fine-grained permissions, such as file transfer across systems, monitoring, etc. How do we lock down these user accounts ...
1
vote
1answer
33 views

Replacing one ssh server by another while keeping keys

I have an embedded system that normally connects via ssh to a certain system, the OS is on flash mem and nothing can be changed. I have now replaced the destination system with another and thanks to ...
1
vote
4answers
71 views

find: missing argument to `-exec'

when I'm trying to use this command var1=`sudo -u psoadmin -H -s ssh daill_scp@files.dc1.responsys.net find . -maxdepth 1 -type f -mtime +14 -exec ls -lh \{} \; | awk '{print $5, $9}'|egrep -v ...
1
vote
0answers
30 views

ssh x11 forwarding drag-and-drop

Is it possible to drag-n-drop into x11 forwarded application? For instance, I'm forwarding skype and I'd like to send a file by dropping it into message box. Yes, I know I can work it around. This ...
24
votes
5answers
21k views

How can I tell what version of linux I'm using?

Often times I will ssh into a new client's box to make changes to their website configuration without knowing much about the server configuration. I have seen a few ways to get information about the ...
0
votes
1answer
42 views

How do I tunnel traffic through a VPN and then through another machine

I recently started working from home using a laptop (A) that connects to a corporate network over a VPN. The VPN end point (B) on the corporate side then has two ports, 3389 for RDP and 22 for ssh, ...
1
vote
0answers
50 views

bash scripting : using expect

I am facing an issue when I run simply these commands. The remote server want to pass "yes" to add the key in RSA file because first time connection established with scp. commands are given below ...
14
votes
1answer
586 views

Transfer a file over a unstable SSH connection

I'm trying to upload some big files (around 10GB) with a slow upload speed (200kb/s) on a often disconnected SSH connection (due to poor network conditions). I'm trying to use scp, but if there is a ...
3
votes
0answers
233 views

Server freezes because of fail2ban

Lately I've experienced some problems with my server freezing or having network problems (I can't really tell which at this point). I'm running OpenSSH on port 443 and it seems fail2ban's anti SSH ...
4
votes
2answers
110 views

Can 'ssh <host> <command>' be configured to always load server-side startup files?

I would like run remote ssh commands and have them always load server-side startup files by default. I am looking for a solution that does not require: configuration by root adding extra boiler ...
1
vote
2answers
62 views

How to tar, split, pipe, untar over ssh

I'm copying large files over LAN, and I've noticed that with doing one ssh pipe, I can get around 10MB/s transfer speed. However, if I shoot off four of those at the same time, I get around 40MB/s ...
2
votes
2answers
47 views

How to set Timeout for an ssh command and also get back the result of remote commands

I have a script that runs on bash, in an RHEL server that connects to thousands of nodes and returns with the values of some 5 executed commands - It collects info from RHEL Servers only. It works ...
4
votes
3answers
169 views

How to unlock account for public key ssh authorization, but not for password authorization?

The ssh won't let me login, because account is locked. I want to unlock the user on my server for public key authorization over ssh, but do not enable password-ed login. I've tried: # passwd -u ...
0
votes
2answers
68 views

what is the purpose of -i in front of scp and ssh commands?

What is the "-i" for in the command "scp -i key *username*@address: path 1 *path 2*"? Note: I've seen "-i" used in ssh commands as well.
1
vote
1answer
442 views

Dynamic port forwarding using socat

I'm trying to replicate the functionality of ssh -D <PORT> user@machineX to tunnel all my traffic from my current machine via machineX. I do not need the ssh shell open at all, I simply wish to ...
1
vote
2answers
1k views

ssh connection to server closed after authentication immediately

I'd like to connect ssh://challengeuser@web1.ncc.ninja:2222, but after the authentication and the example output below are displayed, the connection is closed immediately. I can use ssh to connect ...
0
votes
0answers
29 views

ssh without password multiple shared hosts

Hey I know this is a simple task but i was getting some trouble do to my setup. I have 3 servers on which i want to be able to ssh without being prompt a password. But the thing is each of those ...
0
votes
2answers
891 views

SSH failed public key authentication

I have a server, and I want to be able to SSH in with two different users. I have setup public key authentication for the first user, and it works just fine, however, I can't login with the second ...
7
votes
4answers
26k views

How to make putty to not break my session after some time?

Each time putty is breaking session after some time if I am doing nothing. There is no any time parameter on putty so how can I stay my putty ssh session always Alive ?
1
vote
1answer
73 views

ssh connection to server closed immediately after authentication

I had the same problem as ssh connection to server closed after authentication immediately I connected to my server (in this case a raspberry pi running pi musicbox) via ssh, it would accept my ...
87
votes
19answers
117k views

Why am I still getting a password prompt with ssh with public key authentication?

I'm working from the URL I found here: http://jaybyjayfresh.com/2009/02/04/logging-in-without-a-password-certificates-ssh/ My ssh client is Ubuntu 64 bit 11.10 desktop and my server is Centos 6.2 64 ...