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

learn more… | top users | synonyms

2
votes
1answer
27 views

Monitor SSH data transmission, and close connection if no data is flowing

For our file transmission and manual storage we have a simple RHEL server on which all other Linux clients are connecting by SSH. Whenever any client wants to access/store data, they connect to the ...
2
votes
0answers
16 views

Why VMware DHCP persists getting offline?

I am trying to set up a SSH server in my remote machine which is running Windows 7 on it currently. So first I set up a Oracle VirtualBox but it did not work for me properly. Then I decided to go with ...
1
vote
0answers
24 views

SSH to Windows 7 with cygwin openSSH freezes when remote conection [on hold]

When I SSH into Windows 7(Cygwin) from a remote, the session freezes after few seconds or up to two minutes. This can happen while I'm typing and it can happen when idle. This is still happening after ...
1
vote
1answer
23 views

Easiest way to mount Google Cloud Storage in CentOS

we use centos for some hosting projects, but nut very expertise with systems. We pretend to use a main CentOS box to mount an "unlimited" Google Cloud Drive and then share it via NFS to the rest of ...
0
votes
2answers
68 views

How do I run a command on a TTY from a SSH session?

Does anyone know of a way that I could run a command from my ssh session and have it display on tty1? It seems like I could do that like: script command >> /dev/tty1. However, if I were to do ...
3
votes
2answers
43 views

ssh from host to guest using qemu

How do I setup ssh from the host to the guest using qemu? 1) I am able to use port redirection when I boot the VM without any special parameter(explained in point 2) as follows: ...
0
votes
1answer
26 views

Zsh ssh tab completion not working as expected on OS X

I use Zsh on two different machines (OS X and Ubuntu) and the tab completion for ssh does not work the same way. More specifically hosts specified in the file ~/.ssh/config is NOT used on OS X but it ...
1
vote
2answers
40 views

About escape with SSH pipe

I want to execute the awk command with long parameters,like this: ssh host "netstat -rn|awk 'NR!=1 && NF>=6 && $1!="Destination" {printf "%-15s %-20s\n", $1, $2}'|sort -f " but ...
1
vote
2answers
81 views

How to edit /etc/hosts without sudo?

I have a machine that I can only access using SSH. I was messing with the hostnames, and now it says: ssh: unable to resolve hostname I know how to fix it in /etc/hosts. Problem is, I need sudo ...
3
votes
1answer
49 views

Transfer files client-server inside a SSH session [duplicate]

Is it possible to transfer files (client-server) from inside a ssh session?. I know how to transfer files using SCP, This question is about transference from inside a ssh session. For example I ...
1
vote
1answer
60 views

How to check for a folder inside a particular folder in shell script?

I am working on a shell script and python script as well. Python script is passing certain parameters to my shell script and then I am using those parameters in my shell script. Below is my shell ...
2
votes
1answer
39 views

root login silently fails

After some months of not touching it I wanted to login to one of our virtual servers to update OpenSSL, because of the heartbleed thing. The server is running Debian 7, sudo is not installed. I ...
2
votes
2answers
39 views

Does /var/log/secure log successes?

Short one that I've been unable to find a decent answer for. Centos 5.10 server, trying to trawl through all the logs I can to see what IPs successfully accessed the server. I've been mucking about ...
1
vote
1answer
37 views

Create ssh user which can only access home directory [duplicate]

I read documentation on the internet on how to create a new user with SSH access. I figured it out and to create a user is quite simple. The next step I want to take is to jail this ssh server to the ...
1
vote
1answer
36 views

CentOS Local User not able to view directories/files via FTP login

Currently running CentOS 6.5 with vsftpd. As a newbie, I would like to explain my process and then have the proper process explained back to me from scratch which I believe will solve my issue. I am ...
2
votes
2answers
42 views

How to ssh to a server using another server with key from the second server?

How to configure ssh to imitate this: ssh server1-user-name@server1.net -i /path/to/.ssh/server-1-ssh-key -t ssh server2-user-name@10.0.0.10 -i /home/server1-user-name/.ssh/server2-ssh-key When I ...
0
votes
2answers
47 views

SSH Key not working [duplicate]

I created an SSH key on my laptop using ssh-keygen and then put it on some production servers so that I don' have to type my password every time. On some servers it is working well, but on some it's ...
1
vote
1answer
83 views

How does ssh pick which key to use?

I'm using the following as a forced command with hg-ssh. This forced command is designed to just allow pushes with hg. However, I must be doing something wrong, because I can actually log in with ...
2
votes
1answer
18 views

Commandline program affecting subsequent shell output with underlines?

I'm SSHing via Windows PuTTY to my server running Ubuntu Server 12.04. As you can see in the top of the screenshot, the terminal looks normal but when I run Behat (a PHP test automation framework), ...
0
votes
1answer
45 views

passwordless ssh is not working in CentOS 6.4?

I am setting up passwordless login from this link but I can't get it to work. When I do ssh localhost it always asks for a password. I have also referred to this question: ssh password less ...
0
votes
1answer
32 views

Error “ssh_exchange_identification” with Corkscrew

I'm trying to reach my ssh server (i'm behind a corporate proxy) so I tried to use Corkscrew. My ssh server is listening on port 443, I put sshd: ALL in my /etc/hosts.allow and there's nothing into my ...
1
vote
1answer
28 views

Acting on a different display when using SSH [duplicate]

I am connecting to a Linux CentOS 2.6 computer via SSH wit the display deported on my screen (using MobaXterm). It is also possible to access to this computer "physically". However, I would like a ...
2
votes
3answers
52 views

Get exit status of a process over SSH

Not sure how to google this (I tried with some things and didn't get much) or how this is even called. This is my typical workflow: SSH to a server run something there and leave it running in ...
1
vote
2answers
40 views

Create an user that can only connect to a specific directory

I've created a SSH folder for some friends. I've created the users to log in via SSH, but they connect to ~ how can I set to which folder they can connect? I have a directory called /usbdrv/ which ...
0
votes
1answer
15 views

No xauth data; using fake authentication. Unable to display remote windows

Whenever I try to ssh -X or -Y into a remote Linux server from my Mac (OSX Mavericks) machine, I get the same message: "Warning: No xauth data; using fake authentication data for X11 ...
9
votes
5answers
256 views

SSH automatic remote back ups

I have two machines, A and B. Machine A can ssh into B. A has a lot of free space. B's data is in a sort of risky situation. How do I back up all of B's data to A automatically. It does not have to ...
0
votes
1answer
61 views

Understand debug messages from sshd [closed]

I'm using OpenSSH_5.8p1 in my machine,I'm connecting my machine using putty client but its slower so I have ran sshd in debug mode and found following messages can any one explain me in detail about ...
0
votes
2answers
17 views

ssh to a new user in ubuntu

I created an user in ubuntu and now I want to do ssh with that user. I'm able to do ssh but I'm not getting in the shell: myUserName@myMachineName:path$ I just get: $ And I don't see the path ...
5
votes
4answers
219 views

History of IP addresses that accesed a server via ssh

It has come to my attention that a server of mine has been hacked and infected with a known chinese botnet. It was a prototype/testing virtual machine with its own static IP(US address) so no harm ...
2
votes
1answer
51 views

How to resolve ssh connection refused on AIX?

I am no longer successfully able to connect to my AIX LPAR. ssh -v user@<ip> OpenSSH_6.2p2, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to ...
2
votes
1answer
10 views

ssh ControlMaster exceptions

Most ssh connections I make benefit from the ControlMaster being turned on, for example most of the connections I make over VPN. However, there are a few that don't, such as github. So I've got the ...
2
votes
0answers
22 views

tmux: shared session, one user in a pane, another in another pane, two different cursors

I've decided to try tmux: have been reading the docs and googling around, trying to find a way to have two users sharing a session, each with a different cursor. However, giving 777 permissions to ...
2
votes
3answers
44 views

Configuring the default timeout for the SSH agent

I use ssh-add to add my SSH keys to the SSH agent. By default, it adds them indefinitely. There's a command-line option to specify a timeout, but is there a configuration file option which will ...
0
votes
0answers
34 views

sshd without pam slower

I am running OpenSSH_6.5 with UsePAM yes in my board. I have observed that with UsePAM no in /etc/ssh/sshd_config, sshd runs slower than previous case. How is this possible? My understanding is ...
0
votes
2answers
27 views

ssh passwordless login not working on RHEL

After following this tutorial for setting up SSH pubkey auth, I cannot seem to get passwordless login to work, It always redirects me to the password authentication. As far as I am aware, I have ...
0
votes
2answers
36 views

which unix or linux command is used to change root password of remote machine(Just an IP address) without using SSH Login [closed]

which unix or linux command is used to change root password of remote machine(Just an IP address)? Suppose I just have an IP address of the target machine which is on my network, But I do not know ...
0
votes
2answers
33 views

Can't use SSH anymore after installing denyhosts

so I'm in a very tricky situation. I've installed denyhosts on my debian machine and suddenly I can't use SSH anymore. Hopefully I could still login through webmin, but with root, so I had to login ...
0
votes
1answer
43 views

Getting more output from NetCat

Currently I'm using the standard netcat -e /bin/sh to provide a remote shell for other computers to access. The problem is however that this shell is rather terrible, since it has limited output. For ...
1
vote
0answers
20 views

ssh-copy-id hangs with 8192-bit key

Having a bit of an issue with ssh-copy-id it seems to hang when i try to copy 8192-bit rsa keys accross to an OpenIndiana server. I running OS X as my client OS. Is anyone aware of issues with keys of ...
2
votes
1answer
37 views

Is it possible to have multiple SSH host aliases? [duplicate]

I have a laptop that can obviously be inside or outside of my home network at times. When I need to SSH into a machine inside of my network, the connection is fairly straightforward: localhost $ ssh ...
3
votes
1answer
30 views

How do I generate SSHFP records?

I need to setup SSHFP records in the DNS for my host. I have done some searching but I haven't found any good example. What are SSHFP records? What does SSHFP records look like? How do I create ...
0
votes
1answer
32 views

SSH E-mail login alert if SSH port is as NAT

Can you help me with this problem please? How can I set e-mail alerting after SSH login when port 22 is NATed? I use Linux Debian 7. I have used these iptables rules: eth0 - external network, eth1 - ...
1
vote
1answer
99 views

xterm no longer starting as root user on RHEL6

I am totally stuck even after reading both this and this (if it isn't already obvious I don't have much experience with Linux.) I am trying to install WebSphere 8.5 on RHEL6. Everything was going ...
0
votes
0answers
28 views

Mount a dropbox directory without installing the dropbox application

This is most likely to be a duplicate question, but I could not find a simple answer for my problem. My situation is as follows: I have multiple accounts on different computing clusters. I want to ...
1
vote
2answers
60 views

Having ssh tunneling itself for remote access from a third machine [duplicate]

I am struggling with understanding if and how the following is possible. Say that I have a machine T (target) which I want to access from remote (ideally via ssh). T is behind a router/firewall R ...
5
votes
2answers
99 views

How to input a network file using scp to ffmpeg

My problem is this. I have access to a server that hosts many video files, most of them are very large and not well compressed. I intend to make a reduced quality smaller size copy of these on my ...
1
vote
0answers
17 views

libpam load pam modules at every connection

I want to reduce ssh connection time, by debugging sshd have found that libpam is loading all pam modules specified in /etc/pam.d/sshd file at every connection. How to configure/modifiy libpam such ...
1
vote
2answers
58 views

How to inject data at the beginning of a child process's stdin?

TL;DR How can I fix this command line template, which fails when cat (on the client side) contends with ssh prompting for a password? { echo some stuff; cat; } | ssh SERVER cat { echo some stuff; ...
2
votes
0answers
28 views

Unexpected “authenticity of host can't be established.”

Few months ago, I logged to server1 and scp files to server2. Now I want to do the same, but after the scp command I get message: The authenticity of host ... can't be established. RSA key ...
1
vote
2answers
44 views

Can't access ssh in my VM Centos

My Cento's IP is diferent of the normal. And I cant access it in a ssh command And when I tried access using ssh noting I want to use ssh and samba client, but my IP is diferent. And I have ...