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

learn more… | top users | synonyms

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
62 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
56 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
70 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
270 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
160 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
243 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 ...
2
votes
1answer
1k views

vncserver -localhost and ssh tunneling

I'm trying to setup a ssh tunneled vnc connection from my centos 5.10 machine and I've been following some online tutorials such as this one: https://wiki.archlinux.org/index.php/Vncserver. I'm ...
1
vote
1answer
2k views

Possible to SSH or Telnet into D-Link Consumer-level routers?

With stock firmware, is it possible to SSH or Telnet into a consumer-level D-Link router? Specifically, a D-Link DIR-625. I can SSH to my server behind it, but I want to open another port, and I do ...
0
votes
2answers
87 views

Tab Completion Broken on SCP with OpenSSH 1:6.2p2-6ubuntu0.1

Here is my scenario: I want to transfer ~/foo.txt to a server aoneill@bar. I start typing in my command line: aoneill@aoneill-Laptop:~$ scp fo At this point I hit <tab> to complete the file ...
1
vote
0answers
100 views

Sync Linux system with Windows over SSH while retaining file permissions

I am trying to sync files between my Linux machine and my Windows machine over SSH (SFTP). Currently when I do this, the files lose their Unix file permissions because windows doesn't support Unix ...
0
votes
1answer
344 views

ssh port forwarding doesn't work from company network

I'm doing ssh reverse port forwarding to access via a public ip a web server only accessible in local. After executing this command on my laptop: ssh -v -o "ExitOnForwardFailure yes" -o ...
8
votes
2answers
2k views

Default SSH user on Linux

What is the entry I should add to my .bashrc file so I can specify a default user for making SSH connections? For example, if I want it to be root and want to SSH to x, if I type ssh x, it should ...
1
vote
1answer
140 views

OpenSSH, FreeBSD screen overwrite when closing application

I installed a fresh FreeBSD 10 on a VM and connected via SSH and I've noticed that whenever i close a program (e.g., htop, top, nano etc) the contents of the session gets overwritten. This doesn't ...
1
vote
4answers
584 views

Why does SSH feel so much faster than HTTP?

If I ssh into a server, the time between say, issuing the ls command and getting the result is almost nothing. If however I issue an http request for a simple html page (containing only the word ...
2
votes
1answer
228 views

SSH: can connect to computers on local network but cant connect remotely

I have 3 computers running ssh server on them: PC1 is running Cygwin on Windows PC2 is also running Cygwin on Windows PC3 is running Linux and they are on the same network connected to same ...
0
votes
3answers
61 views

Connect to remote computer through one between (with credentials)

I need to access to remote computer and I have username and password, but I can access only from third computer ( like proxy, I also have credentials for third computer). WhenI start project, from ...
1
vote
3answers
425 views

Serve all content via HTTPS, regardless of web server settings

I've got a server running on port 80 on a Mac. I'd like to also have the same content that's being served on port 80 available on port 443. I'd like to know if there's a command line way or an easy ...
4
votes
1answer
324 views

Tunneling ssh via a SOCKS5 Proxy on Windows

I'm using Windows 7 over my 'restricted' campus network. I use Heroku Toolbelt to work with heroku projects, which inturn uses git and ssh on port 22. However, port 22 is blocked in my campus. Can i ...
4
votes
2answers
2k views

SSH-client on windows that supports ECDSA [closed]

I'm looking for a ssh-client on windows that supports ecdsa. There is a whish for putty, but no support yet. Winscp is waiting for putty to implement it. It seems to me that there is no client that ...
0
votes
2answers
441 views

Tunnel HTTP traffic through a linux server

I want to tunnel data (HTTP / HTTPS) from one linux server through another to access proxies. The reason I cannot go straight to the proxies is because they are all firewalled and I have far too many ...
2
votes
1answer
456 views

ssh config 'Missing target argument'

I'm trying to run the equivalent of this: ssh -L 4200:localhost:4243 root@192.168.1.4 In an SSH Config file: Host crashplan HostName 192.168.1.4 LocalForward 4200:localhost:4243 User root But ...
0
votes
1answer
248 views

SSH into dual boot computer

So as is usual I have a dual boot Kubunutu / Windows 7 box (with cygwin), at certain static IP of local 192.168.0.x range, and I want to SSH to it from my other boxes regardless of which system it's ...
0
votes
3answers
293 views

Continue SSH background task/jobs when closing SSH or when Shell is disconnected

I am running an MPI program with SSH secure shell. Due to Wi-Fi disconnection, my la[top looses connection with server and causes failure of running process at server. As per above suggested ...
0
votes
0answers
162 views

What VBScripts can be executed via remote text console (SSH or Telnet)?

I am testing via remote login (SSH) a simple VB script (thanks, Igor) from this thread ( Is it possible to download using the Windows command line? ) that just downloads a file to hard disk: cscript ...
0
votes
0answers
762 views

How to get systemd “socket” unit to automatically restart? specifically dropbear.socket

On my BeagleBone Black Angstrom system, the dropbear.socket UNIT seems to spontaneously die after a while. The effect is that I can not ssh into the machine without restarting the dropbear.socket ...
1
vote
2answers
1k views

RSYNC over SSH requesting password

I looked at numerous question but don't seem to find quite what I'm looking for. I've created a script in which I'm trying to run rsync over ssh, this will eventually be put into a cron job. The ...
2
votes
0answers
139 views

Change group or permissions when a file is moved to a shared directory on Linux

I've set up a Linux server accessible with ssh and Samba share. Every user has his own folder USER/ and a public folder USER_public/. Permissions on the USER_public/ are set up using setfacl in such ...
3
votes
1answer
2k views

Sync multiple hosts using unison

I am trying to keep in sync three machines, on one of which I run unison to sync the other two. This 'star' architecture is advertised in the unison manual: Using Unison to Synchronize More Than ...
1
vote
1answer
209 views

Cannot access the server via ssh after apt-get update

I have did apt-get update in my server - Linux Debian and after that I rebooted the server but now can't access it via ssh. When I open /etc/ssh/sshd_config it showed everything prefix with #. I ...
1
vote
1answer
46 views

User name for an existing SSH certificate?

On a Jenkins server, there are two pairs SSH private and public keys in the ~/.ssh/ directory which apparently are both used to authenticate with the same external server. However, I don't know which ...
0
votes
1answer
14 views

Why am I still able to write to a directory after I have changed permissions at the terminal?

I am running Mac Os 10.9 and connecting to a Mac OS server (10.8?) over our local network where I have an admin account. I regularly sync 3 directories from my machine to the fileserver using rsync. ...
-1
votes
1answer
98 views

SCP using SSH config?

I'm looking to SCP a file on a remote host which I usually would SSH into. I have a config file setup when I SSH which saves alot of time and typing. I'm trying to do something similar for SCP in that ...
0
votes
1answer
462 views

cant ssh to remote machine after run “chmod 777 . ” in the root directory

I have a remote machine with a single and root user - stg I connect to this machine using ssh stg@staging and run: sudo chmod 777 . i logout and cant connect any more: Permission denied ...
2
votes
1answer
696 views

EC2 - ROOT & SUDO not working

I've setup an EC2 instance(PHP, MySQL, phpMyAdmin). Last night I accidentally execute some command that messed up the permissions. I was able to login as root before (to ssh using puTTy) but now ...
2
votes
1answer
569 views

Hanging sshd process on remote host after reverse ssh tunnel connection gets broken

I set up reverse tunnel this way: function startconn () { ssh -N -b ${SRCIP} -X -R ${REMOTEIP}:${REMOTEPORT}:${LOCALIP}:${LOCALPORT} root@${REMOTEIP} & SSHPID=$! echo "$SSHPID" > ...
2
votes
2answers
94 views

Tor with SSH Server on top of it

One of the problems with tor is the exit node - if it's a malicious, it can sniff all the traffic. If I will chain Tor and SSH server (Tor->SSH Server->Internet), the exit node will be able to decrypt ...
1
vote
1answer
108 views

Is it possible to limit SSH access for certain users based on schedule?

As the title says, I'm looking for a way to limit SSH access to certain users, so that they can connect only during a certain time period. Let's say, username "A" can access SSH only during office ...
0
votes
1answer
274 views

osx - change terminal-color based on user

what i want to achieve : everytime i log onto a machine via ssh with a specific user -> "danger" like ssh danger@somehost i want the terminal to change its background to red, so i have a visual ...
3
votes
1answer
1k views

ssh/scp command too slow to connect compared to putty. What could be causing it?

I use Putty to connect to ssh server when on windows, and the ssh command when on linux. I've recently noticed, that Putty establishes the connection much more quickly compared to the ssh and scp ...
0
votes
1answer
1k views

Telnet : Connection refused

I have Windows 8 as my OS and have Debian installed on VMware player. I would like access my debian install using telnet. (I do know telnet is insecure. It's just for learning purposes) When I ...
1
vote
1answer
98 views

Reconnect ssh connection without broke the pipe

I have two machines in different site. Two machine have FreeBSD and ZFS volume. One is master. and other one is backup. I usually do a backup by this command that invoked by cron. zfs send -i ...
1
vote
1answer
100 views

How mount remote folder on boot from virtualmachine guest onto host at boot?

On boot I want the following two things to happen in order: Start up a VirtualBox machine Mount a folder (only after the VB machine is booted) on that VB guest onto the local host machine (via ...
1
vote
2answers
3k views

RDP a Windows Box from over a SSH tunnel to a Linux box

So here's my situation: [OSX] ---vpn-ssh---> [ubuntu server] ---rdp---> [windows box] I have a laptop (OSX) and I can currently ssh over VPN (hamachi) into a headless ubuntu server running ...