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

learn more… | top users | synonyms

1
vote
2answers
46 views

Should I set up SSH or a VPN?

I currently RDP to my home PC using a secure SSH tunnel. It works well but I would like to try to set up a VPN. My understanding is that if I connect to the VPN from a remote PC, all the traffic of ...
0
votes
1answer
462 views

vim editor full screen in putty

I am using putty to connect to my linux server and if I open any files with vim or vi editor the editor margins are getting limited, whereas the same full screen is coming if I open in XTERM. My ...
1
vote
1answer
778 views

Bitbucket ssh Read from socket failed: Connection reset by peer

I'm using ssh to access git repository on bitbucket.org. Suddenly I can no longer connect to it. Haven't installed anything or did any changes to the settings. $ ssh -v git@bitbucket.org ...
0
votes
1answer
29 views

Getting session of an opened process using SSH

Let me explain my question using an example. Suppose i am playing a song in terminal using mplayer command. It will start playing and i can see the playback statistics. Is there any way to get that ...
1
vote
0answers
151 views

Need to reset OS X terminal AFTER logging out of Ubuntu (ssh + zsh)

I have a problem I cannot understand, and cannot debug for the life of me. I run Mac OS X 10.9.2 (latest) and use Terminal.app and zsh as my shell. A server I work remotely on runs Ubuntu 13.04 and ...
2
votes
1answer
375 views

Have cron parse SSH config file for server addresses and options

How does one configure cron to parse ~/.ssh/config to get the IP addresses and other options (such as IdentityFile) for SSH? Obviously adding source /home/user/.ssh/config does not help. I do not ...
0
votes
1answer
517 views

Giving remote access to files for only a single directory on a Linux server

I need to give a user named "Bert" access to one directory (/var/www/application/thisDirectory/) on my Linux server. Initially, I tried to use FTP (actually SSH). My first thought was to chroot Bert ...
1
vote
3answers
13k views

PuTTY not running properly (Windows 8)

I'm trying to run PuTTY on my Windows 8 computer. I downloaded the program onto my desktop, but when I run it, no window pops up and nothing immediately visible happens. I check the task manager ...
0
votes
3answers
112 views

How can I debug a login denied?

I am having problems logging into a machine remotely using ssh. It allows me to enter the user name, but when I enter the password I get "Access denied." I can login using the same user/pw locally and ...
0
votes
1answer
100 views

Connect SSH as SOCKS proxy using HTTP proxy

I want to connect ssh with http proxy. It is because I can't directly connect to my server. but I can connect to the http proxy. I see that -o command argument with ProxyCommand might be able to do ...
1
vote
1answer
203 views

ssh port forwarding and multiple aliases

I have the following ~/.ssh/config file: $ cat ~/.ssh/config Host myalias HostName fully.qualified.domain.name Port 2222 LocalForward 3690 127.0.0.1:3690 When I ssh to myalias, ...
2
votes
0answers
242 views

Import ~/.ssh/config into Putty

I have a large amount of servers configured in my ~/.ssh/config on my Linux workstation. Currently I am however using a Windows workstation most of the time, and I'm wondering if it's possible to ...
1
vote
0answers
99 views

Is it possible to specify interfaces for a reverse tunnel in PuTTY?

I am trying to set up a reverse tunnel from a Windows 7 box (call it A) behind a firewall to a DD-WRT router on my home network (call this B). The situation is this, I would like to be able to RDP ...
-1
votes
2answers
423 views

Remotely enable ssh to multi computers on the same network? [closed]

I'm looking into a method to enable ssh on new computers I get to set up on our network. Nearly all are on ethernet, a few on wifi. Not too worried about the ones on wifi. I figured there isn't. But ...
0
votes
0answers
110 views

FileZilla stomps all over rbash and scponly

Pretty straightforward question: I've got a stock Ubuntu install on a server and I'm trying to only allow certain users to scp files to their own home directories. I read up on rbash and scponly for ...
2
votes
2answers
436 views

Eclipse RSE - Setting up Sftp through multiple hops

So I have my local windows server, we'll call locWin1. I also have two remote linux servers, remLin1 and remLin2. locWin1 can SSH to remLin1, but not to remLin2. remLin1 can SSH to remLin2. I am ...
0
votes
1answer
706 views

Restrict user to given directory

I wish to allow Bob to only access files in directory /var/www/main/open via sftp. I've edited /etc/ssh/sshd_config, and changed Subsystem sftp /usr/libexec/openssh/sftp-server to Subsystem sftp ...
4
votes
1answer
953 views

Why does my .bashrc get read when I run noninteractive commands over ssh

I've prepended each of my bash config files (~/.bashrc,~/.bash_profile,~/.profile) with echo NAME_OF_FILE, i.e. I get '.bashrc' when I source in ~/.bashrc. What baffles me is why I get and ...
2
votes
1answer
2k views

Font size with XMing X11 forwarding too small

I am using a GUI application running on a remote Linux host, but displaying on my Windows desktop using the XMing server, PuTTY with X11 forwarding, (and ssh -X as well, which is done by SLURM's srun ...
0
votes
1answer
33 views

Ubuntu “connect to server” dialogue and private keys

Ubuntu has a "connect to server" dialogue option selectable from the desktop menu. However, for SSH it only seems to allow a username/password login. Is it possible to use a username/private key ...
2
votes
1answer
49 views

Is it safe to work on a server via SSH while uploading files to it via an SFTP file manager?

I'm uploading a large amount of data onto a server via SFTP, and could start setting things up in non-related areas with SSH while waiting, but I'm curious as to whether doing the two simultaneously ...
0
votes
0answers
187 views

PuTTy Windows SSH doesn't accept UTF-8 password

I'm unable to login through ssh using PuTTy on windows. Everything works fine on linux and mac. Any idea or good alternative? I tried changing the character encoding to UTF-8 but no luck there. Edit: ...
-1
votes
1answer
250 views

Prevent multiple ssh-tunnel to same port and ip

Im creating a few ssh-tunnel connections to a remote system with this command: ssh -R port:localhost:2222 user@ip If this command is now execute multiple times, it will create every time a new ...
1
vote
1answer
88 views

SSH/Wget and port redirection

Platform: Ubuntu 12.04 There is a internal web server that's behind firewall. I have ssh permissions to connect and redirect the port. I normally use ssh port redirection and point my browser to that ...
0
votes
1answer
98 views

Kill tmux when ssh is started

I have a server with tmux and a client with tmux. If I connect to my server I have running 2 tmux sessions, one from the client and one from the server. Is there a way to detach the clients sessions ...
0
votes
1answer
383 views

Copying SSH private keys

I'm using a Macbook Pro and after installing MacPorts my account was messed up and I feel that a reinstall of OS X is necessary. I posted here if you care to read, it's somewhat irrelevant to my ...
0
votes
1answer
370 views

How can I setup an X Server to run in the background on Windows?

I have grown tired of the (visual) problems I get when using the combination of not-so-great terminal emulation+CygWin on Windows. Now I just run a forwarded gnome-terminal from my server when working ...
1
vote
4answers
644 views

scp files between hosts through intermediate

I have access to 3 machines, A, B, and C. The only possible (ssh) connections are: A -> B A -> C I need to get files from B to C, I can only scp the files from A to B (on A: scp remote local), and ...
1
vote
3answers
356 views

How to detect if remote SSH session is root?

I know I can see the list of logged in users with w or similar commands. I want to know which of logged in users currently has root access, i.e. has done su to become root. The output of w just shows ...
1
vote
1answer
3k views

Unable to connect to server using Putty

I am using windows 8 for connecting to the Linux server, it would connect fine few days back but now I can not connect to it using only my computer. I can connect to that server with any other ...
1
vote
3answers
106 views

Linux: create a “public” SSH account that executes a specific binary and then closes?

I have written a simple application that runs in console mode. I want to allow people from the Internet to SSH to this host and use the application in question. Each time someone SSH's to the server, ...
1
vote
1answer
324 views

SSH hang at the end of one command

Below command is not coming out : ssh -x -l root asr-bng-ubuntu "/usr/local/sbin/radiusd" But process is getting started when i checked in console. Able to execute same ...
1
vote
1answer
413 views

Tunnel over SSH

I have a VPS server running CentOS 6.5 and a also client running CentOS 6.5 I'm trying to make a tunnel connection over SSH protocol. I use -v option to debug, I cant find any problem but i cant ...
0
votes
0answers
864 views

ssh connection refused error on cygwin on windows 8

I set up sshd on cygwin (via the openssh package), and started up the ssh daemon on port 7000. I opened up the port 7000 on my modem as well as windows firewall. From the cygwin prompt, when I connect ...
0
votes
2answers
59 views

Why do I not have access to defined aliases on the server while connected via ssh?

Why do I not have access to defined aliases on the server while connected via ssh? How can I force the terminal to use their defined aliases?
1
vote
1answer
191 views

Unable to connect to VPS with SSH, failed authentication

I'm new to this whole VPS thing, and I'm having some problems with SSH. Basically, the password seems to be wrong, but I copied and pasted it from an email I got from the host, so it must be correct. ...
3
votes
1answer
2k views

Why ssh connection is refused?

How can I set up ssh connection success for all times? I do remote communication to my Raspberry Pi using ssh. Most of the time I can connect. But sometimes, I got connection error as "session is ...
0
votes
1answer
511 views

Remote desktop to server through an intermediate computer

I have access to 3 machines: A(Windows 8, on which I am admin), B(Old Ubuntu distro on which I am root), and C (Server running Ubuntu, on which I am NOT root). I need to remote desktop from A to C. ...
1
vote
4answers
392 views

How do I forward a port accessible to the world on my Mac?

I realize that there's a lot of info out there about port forwarding, but here's my specific situation. I need to use Remote in (via VNC) to my Mac. By default, the Mac Remote Sharing server listens ...
2
votes
1answer
5k views

I received notices of multiple IPs blocked by SSH, should I be concerned?

I recently opened a Wordpress public page from my Synology NAS. Shortly after, I received two notices that different IP addresses (both from China) has been blocked by SSH. Should I be concerned?
7
votes
4answers
12k views

How to authenticate to a VM using Vagrant up?

Authentication failure during Vagrant Up, while vagrant ssh and ssh vagrant@localhost -p2222 works I would like to execute a shell script using Vagrant at boot. Vagrant is unable to Authenticate, ...
1
vote
1answer
874 views

ssh-host-config script still finds the user account cyg_server when it's deleted

I removed sshd service and deleted the privilegded user account created by the script. Now I want to re-install sshd, and am having trouble with the ssh-host-config script. It still finds the user ...
0
votes
1answer
58 views

without ssh key setup, can have write a non-interactive script to rsync/scp/etc withut me having to input the password everytime?

Is there some switch/option for ssh or rsync (something like -u username -p passowrd) that would allow me to pass in the password?
0
votes
0answers
46 views

SSH agent forwarding not working although forward is enabled and configured

I have three machines home-dev (home development server) server-dev (cloud dev server) svn-dev (SVN server) I can login via SSH without problems from home-dev -> svn-dev home-dev -> server-dev ...
1
vote
2answers
4k views

VM refuses key on Windows

My Vagrant VM is up and running, but if i check netstat, it is just ESTABLISHED but not LISTENING. TCP 192.168.56.1:139 0.0.0.0:0 LISTENING TCP 192.168.56.1:50973 ...
0
votes
1answer
449 views

SSH into host on the same network behind a firewall that blocks SSH

I'm trying to SSH into my Raspberry Pi, which is on the same wireless network as my SSH client. My firewall blocks SSH connections. I changed the sshd listening port in my Raspberry Pi to 80 like ...
1
vote
1answer
90 views

Accessing a server that is accessible to one computer from another computer

So basically I have a computer, let's call it 'X'. This computer has a standard Internet connection, via which it connects to a VPN, using CheckPoint VPN. When it's connected to the VPN (and only ...
0
votes
2answers
207 views

Unrar local files to remote server

I have two Linux servers, one which has several RAR files and another empty one. I would like to extract the archives and move the content to Server 2. The problem is: I do not have enough storage to ...
0
votes
2answers
205 views

mysql, ssh, rsync, git hang with dns name but not IP address on Ubuntu 12.04

Certain network based programs recently (problem did not exist a couple of weeks ago) started hanging for me. Some that I've experienced the problem with are mysql, ssh, rsync, and git. My first ...
0
votes
1answer
32 views

How can I create pushable remote Mercurial repos that works over SSH?

I have been using git for a while and I use git and ssh. I have couple bare repos on my server which I use to pull and push on multiple computers. Now I want to try Mercurial for some of my projects ...