Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

4
votes
2answers
4k views

How to avoid sshfs freezing?

So the issue is this: I've installed sshfs on Ubuntu 12.04 and I'm trying to connect to a couple of remote servers. So initially the mount seems successful. Sometimes Gnome even picks it up and ...
3
votes
1answer
2k views

GIT Identity file not accessible: No such file or directory

Host github.com git HostName github.com user git IdentityFile ~/.ssh/github //I've tried also /home/freinn/.shh/github There's no /home/freinn/github file created, have I to create it? That's the ...
2
votes
1answer
19 views

x11 forwarding: switch server of existing process?

I don't know if this is possible or not, as I am by no means an expert on X11 forwarding. I do some of my work for my job at home. I set up X11 forwarding so that when I ssh to my workstation, I can ...
0
votes
1answer
2k views

Save a remote server (ssh) connection including password on Mac Terminal

Can I save an SSH connection similar to the answer to this question but including the password?
1
vote
1answer
24 views

“WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!” constantly occurring, even *after* deleting known_hosts

As per title, lately I started getting the error "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" after I set up a new server in AWS. I'm on OSX Yosemite (10.10.3) I'm aware of nearly all the ...
0
votes
0answers
7 views

Amazon EC2 Security Group inbound rule with a dynamic IP

I'm just getting started with Amazon AWS and EC2 in particular and I was wondering if someone could clarify what I see as a potential problem with EC2 Security Groups. Right now, I'm in the process of ...
0
votes
1answer
2k views

Can I output results of a MySQL query to a Excel file via Putty?

I'm on a local windows machine. The MySQL DB is on a CentOS machine elsewhere on the same local network. I want to output the results of the query that I'm typing directly into Putty into an Excel (or ...
0
votes
2answers
47 views

Can you offer VNC connections through a SSH tunnel or session you started?

Hopefully this is easier to solve than I think. I have two computers [A, B]. A cannot start network connections to B, but B can start network connections to A. This is because of some firewall and ...
0
votes
0answers
339 views

How can I ssh into Xeon Phi on Windows?

On Linux I can ssh into a Xeon Phi card: $ ssh mic0 me@mic0's password: On Windows, however, it doesn't work: > micctrl -s mic0: online > ssh mic0 ssh: mic0: no address associated with name ...
1
vote
0answers
25 views

After installing updates and rebooting server SSH keys modified to use hostname instead of IP

After a recent update on my Ubuntu 14.04 AWS EC2 server my remote machines could no longer ssh in. Checking the syslog on the EC2 I found: Jun 26 02:27:06 ec2: ...
2
votes
1answer
22 views

Network error: Connection timed out

I am trying to connect to server through Putty. It works fine for few days. Then I entered wrong password few times and Putty is stuck and I force close it. As soon as I do this, I am getting error ...
1
vote
2answers
5k views

SSH error ssh_exchange_identification: read: Connection reset by peer

I am trying to access ssh to a server but got "ssh_exchange_identification: read: Connection reset by peer". The same client works well when I move the computer to home but show the error when the ...
2
votes
1answer
32 views

User transparent SSH multihop

What I have is the same as this question SSH tunnel through two servers to access a web service on port 9091 (mainly because I asked that question). But the difference now is that I'm accessing it ...
0
votes
1answer
13 views

Vagrant and ansible facts

Is it possible to have ansible display facts about a vagrant box? The ansible documentation uses ansible hostname -m setup even if I connect with the vagrant user I would still need the ssh key ...
0
votes
1answer
12 views

Send file from windows local host to remote server via ssh

How can I send any file from a windows local host to a remote server via ssh? If possible, using only shell command line.
0
votes
2answers
1k views

Execute a remote command after sudo - su anotheruser in Rundeck

I'm new with Rundeck and completely amazed with it and I'm trying to execute a job and my scenario is detailed below: Rundeck is configured with ssh passwordless authentication for user master ...
1
vote
2answers
22 views

Allow SSH direct Root user login to particular IP addresses

I have configured ssh login disable direct root user, configuration are, /etc/ssh/sshd_config Port 1845 PermitRootLogin no AllowUsers SKBFSXDWA I would like to direct root login to specific ...
2
votes
1answer
149 views

Open SSH - issue logging in without password - public key

I'm having an issue where I'm unable to login by SSH - I've followed other guides and made sure permissions were set correctly, and that the publickeys on my local machine and remote machine match as ...
0
votes
2answers
17 views

Q: Is it possible to monitor SSH activity across local network (within organization)?

Is it possible to monitor SSH activity within the local network of the organization? Specifically is it possible to: View open SSH connections per user/machine along with the servers they are ...
1
vote
1answer
11 views

Rsync behaviour/differences & newbie

From my understanding, rsync over SMB tries to build a file list each time on source/destination to check any changes have been modified before a copy takes please. I’m trying to understand the ...
0
votes
1answer
24 views

Acessing a secure site via Putty SSH Tunnel outside the browser

I wish to access all requests to selected secure domain e.g. https://testdomain.com from anywhere on my pc (not just browsers) via putty ssh tunnel. I tried using a dynamic and this worked when I ...
4
votes
5answers
1k views

PuTTY inserts random characters during a session

I recently started renting space on a remote server so that I could work on a project. I found that a relatively painless way to access it on a windows machine is through PuTTY. However, there is one ...
0
votes
2answers
13 views

SSH : do we need to regenerate the public/private key whenever the IP addresses of server or client changes?

Do we need to regenerate the public/private keys whenever the IP addresses of the server or client changes? How do we enable the logging of the sshd so that i could see the conversation between the ...
0
votes
0answers
25 views

How can I do ssh or scp without restarting the sshd service

I had a problem related to ssh about a week back -- Ssh/Ping Problems in Mac Yosemite through wifi but not ethernet. I was able to solve the problem. However, now I am facing another problem, where I ...
0
votes
2answers
79 views

Copy my ssh key to remote machine via ssh-copy-id in a script without prompt?

My usecase is that i need to copy my ssh key for authorized access onto a remote machine. I need to be able to call a script that copies over my ssh key to the remote machine without needing my input. ...
1
vote
1answer
49 views

Ssh/Ping Problems in Mac Yosemite through wifi but not ethernet

I am using Mac Yosemite OS to connect to my office servers via ssh. I am not able to connect through any of the Wifi (my apt's wifi or my work place's wifi). However, I am able to do ssh when I am ...
0
votes
1answer
14 views

How do I press F9 in byobu over SSH?

According to the man page for byobu, entering F9 while in byobu should bring up the "Configuration Menu." However, I'm using SSH to connect to the Linux box, so I need to enter the escape sequence ...
0
votes
0answers
4 views

kinit worked but without kinit ssh doesn't work.

Case 1) machine: kinit machine: xxx@production.xxx.com's password: (inputted my password) machine: ssh machineB production.xxx.com Successfully sshd. Case 2) machine: ssh machineB ...
5
votes
1answer
38 views

Run custom command instead of browser when clicking http(s) links

I am running a Fedora desktop with virtualised Windows 7 for certain programs that are needed for my daily work. One annoyance is that links in programs try to open with the default browser inside the ...
0
votes
0answers
11 views

Java server started from putty with screen cmd gets unresponsive over night

I have a java server that I start on a centos box via putty. I use the screen command like this: screen -S name java -cp desktop-1.0.jar com.aperico.game.skellitown.desktop.DataServer & Ctrl + A ...
9
votes
6answers
8k views

ssh-copy-id does not work

I'm trying to set up a passwordless SSH login on CentOS 5.4: I generated RSA public key on the client. ssh-copy-id from client to server. Verified ~/.ssh/authorized_keys contains the client key. ...
1
vote
0answers
24 views

How to rsync root files over non-root ssh?

I have two machines, both providing no root login, but provide sudo root access. Now I like to initate a rsync transfer of root files over ssh. Is there an easy way make the the root access given by ...
0
votes
1answer
37 views

Putty Window inactive after certain time

I am currently processing on a server. I am using Putty to do this. As I am running multiple processes (8), I am using multiple cores as well. After a certain time (2-3 days) I get an error saying: ...
7
votes
3answers
3k views

“muxserver_listen bind(): No such file or directory” using todo.txt over ssh on Haiku OS

I'm getting this error after entering a password when connecting via ssh from a Terminal window, ever since I followed these directions to reuse ssh connections: "...consider appending the following ...
0
votes
2answers
45 views

how to SSH into a computer that's in a different WLAN?

My current network set up is Internet -> ISP wifi router (broadcasting) ----(LAN output to)---> my own wifi router (broadcasting) pc1 connects wifi to ISP wireless router, my pc2 connects wifi to my ...
1
vote
2answers
34 views

How do I know when a command run over ssh has finished?

I'm making deployment scripts for my project, and I'm making a function that should be able to run a command both locally and remotely (on a server through ssh) and return the text output. When ...
0
votes
1answer
22 views

How to connect to private network without using ports

So i live in a student dormitory and i have access to the internet with 1 cable. This cable is plugged into my router (Netgear R6200) and i have a few PC's running on that router with cables. Now i ...
0
votes
1answer
11 views

How to pass commands noninteractively to running QEMU from the guest. QMP via telnet/SSH?

I'm running a virtualized Win8 (gaming) platform under Linux host. I use Synergy for keyboard and mouse sharing but I need to pass the usb devices occasionally. GPU is passed to the guest and I'm ...
1
vote
2answers
4k views

Connect Linux server via Windows CMD

As we know, we can connect to a Linux server on a Linux or Unix system by typing "SSH username@domain.name.whatever". But it seems like we cannot do things like this by Windows Command Prompt. I ...
0
votes
0answers
17 views

Why is my ssh-agent dying shortly after being started by xinit?

I'm starting i3 window manager using xinit and xsession. My .xinitrc ends with this line: /etc/X11/Xsession /usr/bin/i3 And ssh-agent is started automatically by Xsession: # ...
1
vote
0answers
22 views

SFTP fails where SSH works

I'm running a win7 x64 PC and I've got a problem when i tried to connect a internal server on sftp with: ip : 172.22.1.39:22 username: root password: ******* the error is the following ...
0
votes
0answers
14 views

Starting a process remotely

Please, i try to start cassandra remotely but it didn't work. i don't find cassandra process when using ps aux|grep cassandra ssh -t root@g-8 -x "sshpass -p 'ubuntu' ssh -t root@10.147.243.163 -o ...
0
votes
0answers
9 views

Connect from Windows VM in Azure to Linux box in Azure using Putty

I created a CentOS 6.6 box(Linux Machine) in Azure, and generated the .ppk keys for the same. When I try to connect to Linux machine from my local system (not in azure), I am able to successfully ...
0
votes
1answer
11 views

Displaying dynamic prompt in SecureCRT session tab (or other SSH clients)

I am looking for a way to display whatever is in my prompt in the tab in secureCRT. If I connect to user@domain then it displays 'domain' in the tab in SecureCRT. But if from the same user@domain i ...
0
votes
0answers
29 views

Unable to setup OpenSSH server on Ubuntu

I have been spending the last 4 hours trying to get my VNC connection to work. Eventually, I realized it was because my Ubuntu remote host was unable to host SSH connections- even though I had already ...
0
votes
1answer
11 views

ssh session stuck after some time of idleness

I'm using fedora 19 and bash 4.2.53(1)-release If I leave an ssh connection opened for some minutes and don't do anything with it, the terminal get stuck. Here's netstat's output: tcp 0 ...
0
votes
1answer
21 views

Unable to ssh vm machine(VM Player) from local machine

I am trying apache-drillwith Sandbox by MapR following documentation. I installed virtual machine from VMPlayer and opened a vm MapR-Sandbox-For-Apache-Drill-1.0.0-4.1.0-vmware.ova. After login, it ...
5
votes
2answers
12k views

SSH: launch GUI programs on remote screen, not X display

The problem Most people want to connect to a server over ssh with the "-X" option in order to run GUI programs on the remote host using the display of the client. I would like to run GUI programs on ...
5
votes
4answers
3k views

automatically start screen upon ssh login

I have been reading about how to automatically start a screen when I ssh to a remote server. I would like a simple one-liner to add to my .bash_profile to start screen when I ssh in, and NOT exit my ...
2
votes
4answers
4k views

Can't access VMware virtual machine through SSH

I have got a VMware Server 2 on a CentOS 5.6 host. I can access my virtual machines from the host machine, but I can not access it from other machines. I have configured NAT port forwarding. But ...