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

0
votes
0answers
7 views

SSH tunneling to non-Apple machine using Back To My Mac

I have little home network with two Macs, Debian-based server and latest AirPort Extreme base station. Unfortunately my IPS uses PAT (double-NAT) and I have no public IP address. On my work machine I ...
0
votes
0answers
8 views

Ubuntu 12.04 and SSH: Automatically shutting down another computer when powering off

I want to shut down another computer in my network when shutting down my own. For that I have created a script that logs into that machine through ssh and powers it off. (SSH keys are set up, so no ...
1
vote
0answers
15 views

ssh command fails when run with ssh-dss as hostKeyAlgortihm

I am running two commands one after other. I run in the following sequence second command fails with error code 255 First Command: ssh -ladmin -oStrictHostKeyChecking=no \ ...
-1
votes
0answers
6 views

Is there a failsafe guide for “ssh -X” usage for both client and server?

I simply can't get SSH properly to run with my server config. Both machines are reachable within the identical NAT and around 15cm distance away, they can both be accessed via TCP/HTTP or other ...
1
vote
1answer
15 views

Why does ssh wait for all the launched processes to exit?

I am running a script from one machine on another machine using ssh. ssh <host> a.pl Now, a.pl starts several other instances of a.pl using the 'system' method and executing each of them in ...
0
votes
1answer
18 views

ssh proxy command with netcat

In example like this: Host destination ProxyCommand ssh gateway nc %h %p Is the connection between the gateway and the destination encrypted? I am confused because I have 2 hypotheses and both ...
2
votes
2answers
27 views

Accidentally deleted all kernel files from /boot

I have a virtual machine (VM) running Ubuntu Server 14.04. I access the VM remotely using putty. Recently I came into a problem when /boot was 100% full. I came across numerous articles which ...
0
votes
1answer
29 views

SSH still prompting for password with authorized_keys

I'm trying to log into a server with a different user. The user's name on the server is gitquery. I used ssh-keygen to create these files locally: /opt/gitquery/gitquery-rsa ...
-1
votes
1answer
12 views

How do I change Synology DSM 5.0 http port via SSH?

I need to change port for HTTP from 5000 to 7777 on my Synology NAS via SSH. Is this possible?
1
vote
2answers
148 views

Strange “Last Login” ip SSH

I was told to post this here instaed of StackOverflow so here it goes: 2 weeks ago I accessed my server via SSH and noticed that PuTTY displayed an "Last Login" IP from India. Today I accessed the ...
0
votes
0answers
12 views

How would I SSH into a chromebook?

I want to poke around the chrome os filesystem in a more powerful terminal, and I'm not sure if the chromebook is set up to be a host for another machine to ssh into.
0
votes
0answers
6 views

How to connect to Ubuntu Server on Azure via password authentication

I've created an Ubuntu Server on Azure. I've specified password as a type of authentication and now I have an SSH url. I can't seem to be able to figure out the correct ssh client connection command ...
1
vote
2answers
163 views

SSH to a host with known but non-static (variable) IP

Is it possible to have ssh or .ssh/config use a dynamic IP address that is stored in a file? I have a remote machine with dynamic DNS that puts its current IP in a file in a shared dropbox. I'd ...
0
votes
0answers
6 views

ssh connection with only public key on ubuntu

I'm trying to connect on ssh with only public_key on my localhost session. But that's return: Permission denied (publickey). ssh -v user@127.0.0.1 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar ...
0
votes
0answers
9 views

Why is my <HOME> key generating ~ characters in a remote sessions?

I get the feeling this is yet another problem due to the weirdness and vagaries of Linux keyboard mapping. Anyway locally my key works as expected inside a terminal based emacs however when I shell ...
0
votes
1answer
14 views

scp files between hosts using ssh local port forwarding

I have a problem about transferring files between hosts. Lab environment is like: My host <-> Host A <-> Host B I only have access to Host A and I want to transfer files to Host B. Host A has ...
2
votes
2answers
384 views

SSH from OSX with password 1 line

I can ssh from my pc using putty, 1 line like so ssh root@myname.mydomain.us -pw abc123 but when I try this from OSX terminal, I get an error Bad port 'w' How can make this work on OSX?
0
votes
0answers
16 views

SSH Tunnel Revisited (from phone)

I have a question, that I'm not sure has been addressed here. I need to get from host A -> B -> C. I am on A which can only get to C through B. Now this is easy enough by just ssh'ing into machine ...
0
votes
0answers
12 views

Is autossh relevant now that we have ServerAliveInterval?

Is there any reason to use autossh if ServerAliveInterval can be used? The docs on autossh are very terse but from what there is it sounds like autossh was intended for an era before the "new" ...
0
votes
2answers
49 views

Can't scp file from local to remote host - Permission denied

I have trying to copy some files from local machine to remote host. root@local:~$ scp /var/www/html/file.php root@remote_host:/var/www/html/test/ The result is scp: /var/www/html/test: ...
1
vote
1answer
66 views

SSH Bash script for repeated commands on a network cluster

I have a network cluster of about 100 machines, a piece of software and a large list of different parameters for the software. I want to use the cluster to speed up the calculation, so each machine ...
3
votes
0answers
22 views

SSH Connection freezes after minutes of unuse?

I run a RaspberryPi with Raspbian operation system. I have installed a WLAN stick and connected the pi only over WLAN to my network. I can access the pi with ssh pi@pi-ip-address This works fine ...
2
votes
1answer
25 views

Issue with key pair while connecting to AWS EC2 Instance

I am trying to connect via ssh to my RHEL EC2 Instance, from a Linux Mint computer, and when I run this command: ssh ec2-user@SERVER_IP_ADDRESS I get this error: Permission denied ...
0
votes
0answers
8 views

Stop a reverse ssh tunneled port from listening on remote machine

I have a few devices that may get serviced through a server. Since the devices connect through a GPRS network with inbound connections blocked I make them check with the server every few minutes. The ...
1
vote
2answers
27 views

Shared external IP address

So Here is my set-up: I have a raspberry pi behind a router. I set a static internal IP address for the pi. I configured the SSH config files and everything how I like it so far. I have a contab ...
1
vote
0answers
13 views

How can I tunnel traffic from vpn to SSH?

I have: 1) PC - openvpn_connection - Server1(my server) - tunnel works fine i have internet on pc. 2) Server1(my) - SSH_tunnel - Server2 (not my) - proxy works fine, tested on browser internet ...
1
vote
1answer
27 views

How to force mac to use ssh dsa key?

When I try to log on ssh in my linux server from OSX, I force it to use a dsa key with the ssh config file. However, before connecting with the dsa key, it tries to connect with a rsa key (which ...
1
vote
1answer
27 views

When/why does SSH close a connection?

I have a CentOS server which I access via SSH from my Windows laptop, either manually with Putty or programmatically using the Python Fabric module. Sometimes after a period of inactivity the ...
1
vote
1answer
23 views

Git commit over SSH not recognizing remote repository

I have 2 machines, client and server. I want to send git repositories from client to server, using remote push. I've run these commands in this order on the server: mkdir /mnt && cd /mnt ...
0
votes
1answer
12 views

Is it possible to capture and export a running process over ssh with x?

I've seen plenty of questions on the web about exporting a display from a remote host to a local. I can get this to work fine, but that's only for commands run after logging into that terminal. Is ...
0
votes
1answer
9 views

Set wireless channel on a DD-WRT router via SSH

I'm trying to change the wireless channel on my DD-WRT v24-sp2 router via SSH. I can persist the channel settings by running; $ nvram set wl_channel=X $ nvram set wl0_channel=X But this doesn't ...
0
votes
0answers
7 views

How to I make the parallels shared folders visible under cygwin ssh sessions?

I do have Windows VM with Cygwin ssh server installed and configured and I am trying to access the host shared folders from ssh sessions. Somehow it seems that even if these folders are mapped in the ...
0
votes
1answer
12 views

How to test if screen is started, then execute a command in screen and detach it?

screen -list There are screens on: 4278.chat (07/16/15 14:26:47) (Detached) 15127.notifier (07/16/15 13:27:57) (Detached) My goal is to : If chat screen is not ...
0
votes
1answer
19 views

how to resume a screen session?

When I log to my SSH, I have 2 screen sessions: screen -list There are screens on: 4278.chat (07/16/15 14:26:47) (Attached) 15127.notifier (07/16/15 13:27:57) ...
1
vote
1answer
18 views

ssh into local machine from remote maching

I would like to ssh into my local machine, from a remote ssh shell. by looking at ifconfig $ ifconfig wlan0 Link encap:Ethernet HWaddr 60:d8:19:24:bd:8b inet addr:137.44.181.163 ...
-2
votes
0answers
22 views

Is it possible to remote access DD-WRT router without forwarding ports through gateway

I'm new to networking so I apologize if I get any terminology wrong. We are setting up a router as an AP using DD-WRT (Kong build) on a Netgear Nighthawk R7000. I won't have physical access to the ...
2
votes
1answer
45 views

Execute command after broken SSH connection

Is there a way to execute a command after an SSH connection is broken (blackout etc.)? When I normally log off I can just use .bash_logout but I don't know what to do when my connection breaks.
1
vote
0answers
12 views

Filezilla not asking for SSH-key password under LXQt

I can not connect to my webhoster with SSH Key in filezilla under LXQt. Filezilla does not ask for the SSH-key password like GNOME does, and says authentication was not possible und no connection was ...
0
votes
1answer
10 views

Is using a password to ssh into one computer where my ssh keys are stored and then using those keys unsafe?

I know that it is much safer to use ssh keys than to use username and passwords. So my question is this: If I have to ssh into a a few servers from a box that I have never used before (so that I ...
1
vote
1answer
7 views

Does repeatedly sshing into more servers slow communication down?

If I ssh from my home computer into a computer in the cloud, and then I ssh from that computer to another computer and then another, does each successive ssh login slow the experience down? In other ...
0
votes
0answers
14 views

How to proxy traffic through VPS to destination host

So, I have a nice, DDoS protected VPS. Then, i have a horribly protected Dedicated server which I'm running a minecraft server on. I want to set it up so, I can set my domain to the VPSs ip, and when ...
1
vote
0answers
33 views

Can't execute remote command using PuTTY/ Plink over SSH

Currently I am trying to run bat files call_putty.bat and call_plink.bat, but it isn't excuting the input commands in -m E:\CREATE_ONT.txt When I remove -m E:\CREATE_ONT.txt, the SSH session is ...
0
votes
0answers
20 views

Can't connect to Amazon AWS EC2 Instance (SFTP or SSH) on a new network

On most networks I can connect fine. However on this new wifi network I can't connect. FileZilla just says that the connection timed out.
1
vote
1answer
15 views

scp from ubuntu virtual machine under Windows 7: connect refused

This question is similar to Virtual Box ssh not working on Virtual Box Ubuntu machine. I actually got ssh to work, but now I want to transfer a file from my local machine to the remote machine using ...
0
votes
0answers
32 views

Cannot SSH to Server after OpenSSH upgrade

One of my developers has taken it upon himself to update one of our production servers without backup to OpenSSH 6.2p, this server is and ubuntu box running in EC2, and now we are unable to SSH to it ...
0
votes
0answers
28 views

Can't telnet into EC2 instance on port 443 [closed]

I have an EC2 server associated with a security group that has the following inbound ports open: SSH TCP 22 90.152.2.83/32 HTTP TCP 80 0.0.0.0/0 HTTPS TCP 443 0.0.0.0/0 AllICMP ...
0
votes
1answer
38 views

Why telnet is more popular than SSH in commercial environment?

As telnet is not safe, most network device vendor (i.e. Cisco) is recommend user to use SSH over telnet when possible. However, based on my working experience, technician and engineer often use telnet ...
0
votes
0answers
10 views

Identifying SSH sub flows in tshark

I am currently considering the implementation of a research paper for which i need to identify the transport, connection and authentication protocols in SSH. I went through the RFC and have concluded ...
0
votes
1answer
19 views

Double SSH and execute interactive shell

I need a bash script to ssh into server a then server b then execute an interactive shell. This is what I have: ssh -t -t server-a.com exec "ssh -t -t server-b.com <<<EOF cd ...
0
votes
1answer
24 views

Cannot exit normally when ssh'ing using bash script

I have a script that ssh into a server and sets up an environment ssh -t -t dev.example.com <<EOF cd var/dev/ ...other commands... EOF But when I type exit in the terminal after the script ...