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

learn more… | top users | synonyms

0
votes
0answers
2 views

Hosting a VPS in a virtual machine emulator

I have a VPS running debian 7. Is there any way I can use the VPS as a guest OS in virtualbox?
1
vote
1answer
18 views

How can I run ssh-add on demand? Can it act as SSH_ASKPASS?

I want to ssh from user@local to user@remote several times per day with an encrypted SSH key, a situation which ssh-agent handles with a good trade-off between security and usability. I'd also like ...
0
votes
3answers
31 views

Backup remote management protocol in case of faulty SSH server

I have a remote computer which I currently cannot access with SSH. The computer responds to ping but SSH gives connection refused, so I suspect the ssh-server is not working for some reason. What ...
3
votes
1answer
55 views

SSH Public Key authentication - works only after a physical login

I am trying to connect via SSH to my ubuntu server with public key authentication. For some reasons I get an "Permission denied (publickey)." on the client, whenever I execute ssh -i ~/.ssh/id_rsa ...
0
votes
0answers
23 views

sshd suddenly wants a passphrase from Linux box, but not from windows (putty)

My Amazon EC2 instance running Ubuntu is no longer letting me ssh in via my local Linux system. I haven't changed a darned thing on either side but now it wants a passphrase and says nope when I ...
1
vote
2answers
75 views

I want to suppress “no access to tty” error message?

I have a bash script where I use ssh to connect to another server and run some commands there. I found some sites that the error (Warning: no access to tty (Bad file descriptor). Thus no job control ...
0
votes
0answers
5 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 ...
0
votes
3answers
86 views

ssh_exchange_identification: read: Connection reset by peer

I am on OS X trying to ssh into a ubuntu 12.04 server. I was able to SSH in -- until abruptly stuff stopped working. I've read online to use the -v to debug this. Output is shown below. If I ssh into ...
57
votes
14answers
72k 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 ...
1
vote
1answer
42 views

Why can't I use public/private key authentication with ssh on Arch Linux?

I have the following setup on an Ubuntu machine: ~/dotfiles/authorized_keys2 ~/.ssh/authorized_keys2 -> /home/wayne/dotfiles/authorized_keys2 I had the same setup on my Arch machine, but when I ...
4
votes
4answers
4k views

What slows down my ssh login?

Everytime I ssh login to a server, it is always very slow. As a reply to my earlier post said, "grepping through a 200 line file should take millisecond or so, so I would doubt its that." I tried ssh ...
1
vote
1answer
22 views

Sourcing bashrc file fails with ssh -t

ssh -vvv -F /home/me/.ssh/config serva -t "source ~/.bashrc" This is the output I get when I use -vvv flag: debug1: Authentication succeeded (publickey). debug1: channel 0: new ...
1
vote
1answer
272 views

SSH Login Alert Using pam_exec

Hi I have been trying to follow the information about pam_exec from here: Ssh login hook? When a user log's in they get: /etc/pam.d/email-alert.sh failed: exit code 8 My sshd file has this at the ...
11
votes
4answers
607 views

Groups differ from the local ones when logging in remotely

We store our users in LDAP, alongside some groups that have meaning across different systems (organizational roles including wheel). There are also groups local to workstations, e.g. audio or video ...
0
votes
2answers
86 views

Login by ssh , exec one command and i don't want to quit the bash

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 ...
4
votes
1answer
29 views

Can I move a running application to a different X server?

Is there any way to open a graphical program (for instance, gedit) while using X11 forwarding over SSH and transfer the X server connection back to the X server on the SSH host?
7
votes
2answers
130 views

Stop ssh config on first match

I have a added a local proxy for all my hosts in my .ssh config, however I want to shell into my local vm without the proxy command. Output of my ssh attempt: debug1: /Users/bbarbour/.ssh/config ...
0
votes
3answers
29 views

after ssh login and during apt-get update, is it wrong to suddenly logout?

there's a raspberry pi that I ssh logged into it works fine and then I sudo apt-get updateed it. during the process, I just turned off the terminal thinking that the update process should be running ...
0
votes
0answers
25 views

Difficulty Installing SSH on Oracle RHEL 5.5

I am having difficulty installing SSH on RHEL 5.5 - I have disabled my Firewall and SELinux. I have gone through: Oracle Docs, to see if SSH is enabled, but I got: To check if SSH is enabled: # ...
0
votes
0answers
17 views

Why would SSH server not accept forwarded Kerberos ticket?

I have an environment where I can SSH in using forwarded Kerberos credentials (using ASP.NET delegation), however in another I cannot. I have GSSAPIAuthentication yes in the ~/.ssh/config on each ...
1
vote
0answers
36 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 ...
1
vote
0answers
12 views

Kerberos Forwarding in SSSD

So, I'm trying to set up forwarding with Kerberos and seem to have some problems. On some of my servers I'm able to forward after receiving a ticket; however, some I'm not. My system setup is a ...
13
votes
2answers
632 views

Why is this binary file being changed?

I am trying to copy files over SSH, but cannot use scp due to not knowing the exact filename that I need. Although small binary files and text files transfer fine, large binary files get altered. Here ...
1
vote
1answer
39 views

Copy newest file in directory over SSH

How might one copy the newest text file from a particular directory on a remote server to his local machine? On the server itself I can do the following: $ cat `cd /home/user/dir ; readlink -f $(ls ...
2
votes
3answers
66 views

Script to ssh and run a command doesn't work

Below is the script. I wanted to login several servers and check for the kernel version. #!/bin/bash #input server names line by line in server.txt cat server.txt | while read line do sshpass -p ...
3
votes
2answers
67 views

Transfering content of block devices

For the purpose of backups, I'd like to transfer (several) whole disk partitions over an ssh link. So the source is a block special device, and the target should be a regular file. Common tools seem ...
3
votes
2answers
562 views

SSH connection timing out [closed]

I am trying to connect to an external host that is living in the Internet. From my laptop I can ssh fine. From an Ubuntu 12.10 server, the connection times out. Since they're in the same network, ...
1
vote
1answer
24 views

Terminal colors putty raspbian

I'm connecting to my Raspberry Pi from my Windows Machine using putty. I already adjusted the colors for bold blue in putty to be more readable (using this guide). But I still have problems with the ...
-1
votes
2answers
27 views

Connect to a remote linux server that is in default setup, not configured to be connected?

In our Company we have an internal-wikipedia-like help site. The Problem is, the MindTouch-Wiki is out of date, so i have to update it! The Problem is, its running virtual. Its Ubuntu 7.7 In ...
0
votes
0answers
34 views

Seeing SSH debug messages in Terminal/console

I am seeing "debug3: Received SSH2_MSG_IGNORE" appear in the terminal on a RHEL 6 Linux server. I thought maybe rsyslog had a console entry, but it doesn't. sshd_config has logging at AUTHPRIV, and ...
1
vote
0answers
24 views

SSH Failing to fork with sshpass

I've a problem with port forwarding command using sshpass. Problem is that it's working on one server and does not work on another. Both are Debian 7 x64 boxes. sshpass -p password ssh -f -D ...
1
vote
3answers
47 views

How to send a output of unix command from one server to another server?

How to redirect the output of a unix command from one server to another server. I should be able to send the unix command's output from server-1. Then I should be able to receive the output in ...
-1
votes
0answers
17 views

Become root after login via plink from Windows host

I m trying to connect to a linux server from Windows host via plink. I couldnt figure out how to become root after logon. I have to login with ordinary user first as I can't change config of the ...
0
votes
1answer
25 views

How to use private-key to setup password-less ssh on new machine

I have one machine say "source1" and there is passwordless ssh already set to more than 100 server say remote1,remote2 ...remote100. Now I need to set similar setup of passwordless ssh on another ...
1
vote
0answers
28 views

How to setup ssh over USB on an embedded linux device?

I have an embedded linux device with an ARM processor. I am connecting to it over a USB port using minicom. What should I do to "ssh" into the device through the USB connection? I want to setup ...
6
votes
3answers
2k views

Remote-Accesible Live-Distribution (aka Live CD)

I'm looking for a live distribution (Live CD or the likes) which comes - per default - with sshd running at startup. I want to check the components of my laptop whose graphics has died ...
1
vote
1answer
75 views

What is the maximum length of an ssh-banner message?

It seems that if the banner message is longer than a certain limit, no banner at all will be displayed to the client. What is either the character or file size limit?
3
votes
0answers
135 views

Can't figure out why ssh_exchange_identification: Connection closed by remote host appear

At home, I have setup a Raspberry Pi with the latest version of Raspbian and with ssh enabled. I also use a Mac Book Pro with OS X 10.9.3. I use ssh pi@192.168.0.22 to do some work on the Raspberry ...
3
votes
2answers
832 views

How to Add rules to IP Filter (Firewall in SCO)

I need to add a rule (allow any to any port 22) to my firewall, so that I can ssh remotely into my machine. I have had a look in the SCO OSR600 Documentation and I cannot find anything in there that ...
2
votes
4answers
43 views

How can I run a GUI on my server through SSH? [duplicate]

Most people want to be able to forward a window through ssh to the machine they're logging in from. I want to do the opposite. I'm on my desktop and I'm logging in via ssh to my server. The server is ...
2
votes
1answer
685 views

Transferring Files SSH SCP Error Message: 'Stdin: is not a tty'

I am using a Macbook SSH terminal and generated RSA key pairs and uploaded remote id_rsa.pub with approved permissions. I can connect with remote Apache web server. I can create, open, move, modify ...
1
vote
1answer
270 views

Remotely compile and run program using ssh and screen

I'm trying to compile and run a program remotely. However, I'd like to this within a screen and also I'd like to run this using grid engine on another node after I ssh. Currently I have: ssh ...
0
votes
2answers
56 views

How to enable passwordless auth to remote server as a different user?

This may seem quite trivial but what I've done doesn't seem to solve the problem. I'm connecting to a remote server as tom who (obviously) exists on the remote server but not the local server. I ...
3
votes
6answers
73 views

Use a shell not installed on remote machine

Given the scenario: Remote machine: SSH server; user does not have admin privileges; Local machine: SSH client; user has admin privileges. If user, logging in to remote from local, wishes to ...
0
votes
2answers
633 views

Script SFTP with password - HP-UX

I would like create a script in HP-UX to send in sftp with password. I have this command sftp -o PasswordAuthentication= but if I answer yes or no after, I have this issue "Host key verification ...
0
votes
1answer
29 views

What is the default idle timeout for OpenSSH?

I can't seem to find an answer to this simple question, which I need for some compliance documentation. On a default install of CentOS 6.5 (OpenSSH 5.3p1-94.el6), after how long of being idle will ...
2
votes
1answer
430 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
0answers
52 views

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

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 ...
2
votes
1answer
53 views

ssh to different server based on user?

Is there a simple way to have my router forward ssh logins for certain user names to a different server on my internal network? For example, ssh router@url would log me in as router on the router and ...
1
vote
1answer
40 views

Accidentally garbled a bunch of file names in /tmp… ssh keys asking for passwords

I accidentally garbled the file names of the contents of my /tmp directory (don't ask) to the point where they're not recoverable. Since doing so, I'm always asked for the password to my ssh keys ...