Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.

learn more… | top users | synonyms

0
votes
0answers
305 views

Why ssh connection fails if `id_rsa.pub` file exists in local `.ssh` directory?

I just noticed if id_rsa.pub exists in local ~/.ssh directory, I can't connect my remote server with ssh command. But I have no idea why is that. Is it dangerous for security if public key exists at ...
0
votes
1answer
29 views

Access webpage from terminal

I have router web admin access via WAN disabled. I can however access a LAN server terminal via SSH. Can I access the router's web admin page triggered from the server terminal, i.e. as if I was ...
0
votes
1answer
79 views

ssh trough HTTPS without a proxy

Is it possible to ssh trough HTTPS without a proxy? using normal tools, something like ThinVNC does The network is closed from the outside world, only access to websites is allowed, and that's only ...
1
vote
1answer
4k views

expect command in ubuntu

I've searched all over SuperUser, but couldn't get the solution. Here is a script that am using for ssh using expect. I'm using ubuntu and I've installed expect using aptitude install expect. ...
1
vote
0answers
65 views

Xfce terminal resize not sent across ssh

I'm running into some strange behaviour related to terminal resize updates not being sent across ssh. On my local machine if I open a terminal and do tput lines I get 24. Then making the window taller ...
1
vote
0answers
138 views

Trying to setup SSH RSA auth on a debian machine.

I am trying to set up ssh on a debian machine. I have a pair of keys generated with putty, I load my private key with Pageant, and the public one I uploaded on the server, and paste it in ...
1
vote
2answers
1k views

pkttyagent doesn't seem to work for virt-manager over ssh -X?

TL;DR: I seem to be too stupid to use PolKit authentication over ssh? I have two machines (running Fedora) with ssh public-key logins to a user with administrative privileges (groups e.g. wheel, ...
4
votes
3answers
428 views

Distinguishing between users connecting via ssh

My colleague and i both ssh onto our work's ubuntu server, as the same "deploy" user, using key login. In our rails app console we have software which records who made changes, but it can't ...
1
vote
1answer
206 views

Always being asked for passphrase

I have set up an RSA keypair using How do I set up SSH so I don't have to type my password? But I keep getting prompted for the passphrase Enter passphrase for key '/var/www/.ssh/id_rsa': ...
1
vote
0answers
253 views

How do I get vlc via X11-over-ssh to display the right font, instead of black rectangles only?

I'm running vlc on my Arch Linux box, forwarded via X11/ssh to my Mac. All characters in the application have been replaced by a black rectangle, so I can't read any labels. I would guess that vlc ...
1
vote
2answers
63 views

Some questions regarding SSH key authentication

As the title says, I have some questions regarding SSH key authentication method on a Linux machine. First of all, I generated my keys on my PC and added the public key in the authorized_keys file, ...
1
vote
0answers
775 views

Cygwin SSH Server on Azure Windows Server 2012 R2 VM giving errors

No matter what I am not able to connect to cygwin ssh server configured on Windows Server 2012 R2 Azure VM. Locally it sometimes work sometimes not. Remotely it never works. Sometimes the error ...
0
votes
1answer
67 views

Ubuntu 13.10 user management

I want to create a user, say 'leon', I can create leon as a user with the 'adduser leon' command, I can give leon admin privleges by adding him to the root group with visudo. How do I then allow leon ...
0
votes
3answers
3k views

MobaXTerm colors are washed out - how to configure the scheme

Out of the box, MobaXTerm's rendering of the Midnight Commander screen looks like this (ZOC by comaprison to the right; PuTTY looks similar): How can I fix this? Is there some environment variable ...
0
votes
0answers
69 views

ZSH and Passwordless access with SSH in a shared home environment

I have a small cluster with some nodes which share their home folder through NFS. I allow passwordless SSH access to the users with this script: if [[ -e $homeDirs/$username/.ssh/id_rsa.pub ]]; then ...
0
votes
1answer
1k views

setting up an ssh server behind a router

Im running Arch Linux on a Raspberry Pi. I'm attempting to setup an ssh server but am running into an issue connecting to it externally. I've installed OpenSSH on the Pi, which is behind a router. ...
6
votes
3answers
3k views

Could not create directory '/var/empty/.ssh'

Every day, after several hours of use, anything using SSH will just randomly stop working. The only solution is for me to restart my machine, which fixes it until it randomly occurs again. > git ...
0
votes
2answers
475 views

How to run a VirtualBox VM on Windows through SSH

I have an Ubuntu server virtual machine on my Windows box, I am able to run VirtualBox on my Windows machine without problems, and then I can SSH into the newly created server. However what I am ...
0
votes
1answer
61 views

SSH Key for another user?

I've created a user called "user". I want this user to be able to login to ssh using an SSH Key. I have done the following: created a folder called .ssh inside /home/user and chmoded it to 700 ...
1
vote
1answer
5k views

How to install IPKG on Synology DiskStation

Is there anybody out there who got the 'ipkg' package manager running on a Synology DS412+ with DSM 4.3, or someone who knows how to do so? I've tried to install by GUI, used the package from ...
1
vote
1answer
1k views

How to create a local-remote-local tunnel to a specific port using ssh

I'm able to establish an ssh connection from my windows computer (localhost - eth1) to my linux computer (remotehost - eth0) by doing: ssh user@192.168.1.100 Instead of using that, because I use ...
1
vote
0answers
782 views

SCP and SSH connect, but FileZilla and CyberDuck can't

I'm on a Mac. I'm trying to connect to a remote Ubuntu server. I can successfully connect to it using ssh and scp commands in the shell. For example: $ scp -i ~/Projects/keys/foo.pem foo_config.ini ...
1
vote
2answers
638 views

Is Iptables blocking outgoing ssh connections?

I have been trying to do pulls from github and it keeps hanging. My iptables rules have no rules which block outgoing traffic but I cannot connect to github using either ssh or http. I can't even ...
1
vote
1answer
235 views

Passwordless SSH on Diskless Linux Cluster

I'm working on diskless Linux Cluster( a server machine, a master machine and 10 x slave machines). Which means the slave machines has no data storage device. I use a NFS server with the collaboration ...
2
votes
2answers
309 views

ssh -n machine.com 'tail -f file' stops working silently after some time

I have a log file on remote server, and I need to tail -f it on local machine via ssh. The command is pretty trivial: ssh -n user@domain.com 'tail -f /path/to/remote/file' Initially it works just ...
0
votes
0answers
1k views

Reboot Windows Computer using Putty (SSH)

I am running Putty and am able to SSH into a network (Tomato is running the SSH server). How can I reboot a Windows computer on the network from Putty? What command do I type?
2
votes
0answers
249 views

ssh to linux through ethernet bridge to windows

I have the following setup Wifi / \ / \ Fedora Desktop Windows 7 Desktop (10.0.1.16) (10.0.1.15) \ ...
0
votes
1answer
806 views

autossh - remote binding and closing the tunnel

I'm trying to tunnel computer a to computer b (using autossh) I want that port 8080 in a.com will be mapped to port 8080 in b.com from computer A: autossh -M 0 -q -f -N -o "ServerAliveInterval 60" ...
2
votes
2answers
10k views

Convert Amazon .pem key to Putty .ppk key Linux

I have generated and downloaded a private .pem key from AWS. However, to use Putty in order to connect to the virtual machine, I must have that key in .ppk format. The process of conversion is ...
1
vote
2answers
2k views

Copy file from local host to remote host

This answer must exist somewhere as it's so basic, but I can't find it. I have a file on my local computer that I want to copy to a remote host. I know how to use scp, but if I do it from my local ...
2
votes
1answer
109 views

Automatic ssh tunnel

I am looking for an easy way to automate my ssh tunnels. Basically I want a local daemon listening a series of local ports. If one program sends traffic to that port, the daemon should start a SSH ...
0
votes
1answer
2k views

how to disable TLS 1.0 and checking enabling SSl 3.0 in Firefox 27.0.1?

How to disable TLS 1.0 and checking enabling SSL 3.0 in Firefox 27.0.1 (new Version) ? I suppose I can find it at the Encryption tab. I followed below path Tools -> Options -> Advanced but there ...
0
votes
0answers
91 views

SSH to “Migrated” server no longer prompting for password after username entered

I have a simple dedicated debian server at a hosting facility. It has been happily allowing me to manually enter both username and password for access via ssh for many years as I haven't needed to ...
1
vote
0answers
367 views

Port forwarding from router to machine in LAN not working

I have a domain, and am attempting to serve my website from a local machine. Port forwarding on my router does not seem to be working. Here is how I have it set up up, and what I've tried to narrow ...
1
vote
3answers
57 views

Is it possible to have a Secured channel and Insecure network at the same time

I was reading up on SSH when i came across the following sentences in the first paragraph of the article via a secure channel over an insecure network 1 ) In what context is the channel and network ...
6
votes
1answer
2k views

OpenSSH ~/.ssh/config host-specific overrides not working

I've tried setting up my ~/.ssh/config file with the help of this guide. However, the host-specific User override has no effect and ssh tries to connect using the global username instead of the ...
2
votes
1answer
221 views

Making SSH connection to Centos 6.5 VM takes ages

I installed Centos 6.5 in a Virtual Box VM. Everything works smooth, except for SSH logins. It takes ages for the command prompt to display. With some verbosity added: debug2: kex_derive_keys ...
1
vote
1answer
2k views

Use local USB when connected via SSH

Is there any way I can access a device plugged into the USB port of my local machine while connected to a remote machine via SSH? What I am trying to do is set up a development environment in the ...
1
vote
1answer
61 views

VIM + netrw: accessing a machine behind a gateway

I'd like to setup a vim session to edit some files on a machine behind an ssh gateway. Is this possible? To access the files via the command line, I have to do: mycomputer$ ssh gateway gateway$ ssh ...
0
votes
0answers
710 views

ssh connection fails with timeout but telnet on port 22 is instant

I am trying to connect to an EC2 instance via ssh. I get a timeout after 80 seconds. If I telnet to the IP address using telnet. xxx.xxx.xxx.xxx 22 then I get an instant response. The EC2 instance is ...
0
votes
1answer
115 views

rsync over ssh but block changes to authorized_keys file on remote computer

OK I finally got rsync over ssh setup with authorized keys. Since I don't want my users browsing the filesystem, I have modified the authorized_keys file to run an rsync script. That way they can't do ...
1
vote
1answer
342 views

Unable to SSH to my virtual machine via Windows Power Shell ISE

I have a Linux VM guest running in my vmWare host that I want to access using Windows PowerShell ISE. I normally can SSH to my VM, but I cannot with Windows PowerShell ISE. When I try to do SSH to my ...
0
votes
1answer
227 views

Unable to SSH to my virtual machine via Windows Power Shell ISE [duplicate]

Well, I have a Linux virtual machine running in my vmWare. And I would actually love to use my Linux in Windows Power Shell. So I usually use it by doing an SSH to my VM. Recently I came across the ...
0
votes
1answer
55 views

Tell me, when script has finished

Some years ago I had a small script[1] called beep-forever which ringed the terminal bell for ever. Use case: I want to know if a script has finished: do-foo-which-lasts-ten-to-thirty-minutes.sh; ...
0
votes
1answer
69 views

Full /dev/sda3 partition on server

I am a super beginner with ssh and the command line and I need to get our website server back online. It has crashed because our /dev/sda3 partition is full. Need help accessing that area so that I ...
1
vote
0answers
61 views

Cron deamon written in shell

I'm looking for a script in bash or ksh, that would do ... more or less ... the same as crond. The situation is, that our system administrator suddenly denied the use of crontab to all regular users ...
1
vote
1answer
269 views

SSH in to an Android phone with out using the screen

I recently bought a Android phone at a yard sell and it has some respectable Specs but the screen is broken and i cant find a replacement for it... I want to ssh in to it so i can use its CPU for a ...
0
votes
2answers
158 views

Using same ssh key for Parallels

I have a Mac and am running Parallels that has Windows 7 on it. I have an ssh key that I use to connect to github. When I go to my Parallels/Windows 7 and try to do ssh -T git@github.com I get ...
0
votes
0answers
72 views

Redirecting xdg-open to another system?

I frequently ssh into a linux system offsite and love to use tools like 'hub' and others that offer commandline tools that open X-apps (most commonly web-browsers). However, it always fails because ...
1
vote
1answer
242 views

getting ssh access to an ubuntu server behind a vm

I have a set up running a windows 2008 server which hosts several virtual machines with their own IP addresses. Previously I was using nginx to proxy http requests to the correct virtual machine, for ...