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

2
votes
1answer
70 views

Determine remote machine`s account name of the user logged in over SSH

At the company where I work we have a certain shared accounts that anyone can use over SSH to perform specific tasks. At this point, we have too many users and each of them has their own usability ...
0
votes
1answer
24 views

I want to automate the tunneling of putty such that Source port and destination can be entered automatically and then putty opens automatically

I want to automate the tunneling of putty such that Source port and destination can be entered automatically and then putty opens automatically. strong text
0
votes
1answer
49 views

Is it bad practice to store obsolete authorized_keys as user/group nobody?

I'm using Chef to manage users on a cluster of servers. When a user is removed I'm keeping their authorized_keys file and changing the file's user/group to "nobody" after deleting the relevant user ...
0
votes
1answer
152 views

Trouble using the back arrow key in R

I am sshing to a linux server via ExtraPutty and am running R. If I type some code and then I hit the back arrow three times, I get the following output: blah blah some code^[[D^[[D^[[D The R ...
0
votes
1answer
149 views

Copy files from path to path same structure for each user

How to copy single file for example index.html from source /backup/cpbackup/daily/a1/homedir/public_html/index.html /backup/cpbackup/daily/b2/homedir/public_html/index.html ...
2
votes
0answers
258 views

Thin client PXE boot

Basically here is what I'm trying to do: I'm trying to boot a client remotely (using PXE boot). Over PXE boot I want to start a minimal linux distribution with X and ssh. Then I want to connect using ...
1
vote
2answers
347 views

Long-running SSH command hanging - better strategy?

I have long-running command being executed over SSH. Every so often, the command seems to hang and stop getting any output. The command is still running on the other machine (in fact, if I Ctrl+C ...
0
votes
2answers
71 views

Is there a way I could transfer all files of a given extension with SSH?

do you know how I could transfer all files with a particular extension (ex. txt files) from a server and keep the folder sctructure using SSH Secure File Transfer? I'm using Win 7 Pro 64-bit, and I ...
0
votes
1answer
37 views

SFTP with a username AND login name?

I just set up a Mac to accept SSH connections. It need both a login and user name like this: ssh admin@192.168.1.100 -l "My login name" This works fine, but I can't figure out how to do this using ...
1
vote
0answers
587 views

nc -v -w 1 111.111.111.111 -z 22 returns port 22 (tcp) timed out: Operation now in progress

Encountering a strange problem on my Ubuntu machine, trying connecting to 111.111.111.111 (example ip) via SSH fails. When trying to connect from other win machine its works. I don't have a ...
8
votes
4answers
6k views

Are there other commands like scp but for deleting files and folders?

I am using scp to copy stuff to a remote location. But sometimes scp does not work as expected, I have found that sometimes the copy does not complete properly (possibly when I have added new files to ...
0
votes
1answer
23 views

How Do I provide client support in sshd

I have Target board where sshd is a daemon which will set the sftp-server and listen to client trying to connect to board using sftp protocol.But there when I try to connect to other machine from ...
5
votes
3answers
3k views

Command executed via ssh does not return proper return code

Why this does not work? $ ssh vm "bullshitcommand; echo $?" bash: bullshitcommand: command not found 0 I expected non-zero return code.
1
vote
2answers
6k views

What is more efficient / faster, rsync compression or ssh compression?

I currently rsync files: (i) locally and (ii) remotely over WAN (connection c. 8mbps down / 1.5mbps up). I am considering adding to rsync: -z to compress files. Or alternatively adding to ...
2
votes
1answer
325 views

Reuse Linux SSH-Key with MacOS

I want to use an SSH-Private-Key generated on Debian 7 with my MacOS-Machine. So I copied id_rsa and id_rsa.pub to .ssh/ on my Mac. The Key is recognized, but every time I enter my passphrase the ...
0
votes
1answer
461 views

BitVise (or alternative): SSH double tunneling / session

I would like to create an automatic profile that will: 1) SSH login to a remote server X 2) perform an SSH login (from within server X) to server Y It would be really great if such a profile will ...
1
vote
1answer
49 views

Passwordless SSH from particular clients

I have a three server machines running Ubuntu 12.04 Server (xxx.xxx.xx.{01..03}). My workstation is Windows 7. When I use PuTTy to ssh into any of three machines from my Windows machine, it asks me ...
0
votes
2answers
659 views

Cannot do SSH or Remote Desktop Connection into my office computer?

I've my office computer which is connected to my university wifi account. Whatever I do I'm not able to connect to my Office PC. I have enabled remote desktop and I have put all firewall on off. This ...
0
votes
1answer
371 views

How to move the remote x-window over SSH X tunnel, back to the remote linux host

Am connecting from my Linux (Mint) desktop to the Fedora (rpfr18) Raspberry Pi using SSH X tunneling. When the Pi comes up, I connect to it from the desktop xterminal using: SSH -X ...
15
votes
2answers
4k views

Function key shortcuts in PuTTY/MinTTY and Tmux/Byobu

As a long-time lurker on Stack Exchange, I've found answers to most of my problems without needing to so much as make an account. But today I'm completely stumped with this issue, so I'm reaching out ...
1
vote
1answer
395 views

Access web server behind router, port forwarding not available

The situation I'm running a web server on a Linux development machine, and I'd like to give access to clients to view some sites without me having to upload them to an external hosting account. The ...
4
votes
3answers
234 views

Passwordless SSH not working from terminal when logged it from remote SSH

We have set up a CentOS 6.4 box with passwordless SSH to multiple other systems. This works fine when using a terminal as the correct user directly on the CentOS computer. However, if I log into the ...
0
votes
1answer
967 views

How to Custom Folder Access when users Login using SFTP,SSH,SCP?

I have problem when I want to config my SSH server, I have username root and guest. I want root still can access SSH and for guest users , only can transfer file (copy and paste) some directory. in ...
0
votes
0answers
66 views

How to pull from the remote environment

I want to run sqlplus after remote login how can I do this? I'm using: wshShell.Run "C:\putty.exe -t -ssh -l someuser -pw pass -m c:remote.cmd 10.100.5.70" Contents of c:remote.cmd cd ...
0
votes
1answer
118 views

How to SSH Tunnel with -L command?

Im trying to use a SSH tunnel for games, website browsing etc. I'm trying ssh -L 8080:runescape.com:80 ****@*****.serveftp.com Problem is, when I reach localhost:8080, it says "Service ...
0
votes
1answer
642 views

Putty with NAS4FREE - Directory “not found”

Basically, the directory I want to access is listed but I can't access it. Below is the Putty command line:- login as: root root@192.168.0.104's password: Last login: Thu Sep 26 21:14:38 2013 from ...
0
votes
2answers
2k views

VNC via socks SSH proxy tunnel

I can connect to my private work network using putty and following setting: hostname: login.abc.com , port:5022, SSH Forwarded Ports: D8888 This opens an SSH socks proxy which allows me to access ...
0
votes
1answer
61 views

Attach X-forwarded window to both displays?

I know I can start an application on the main display of a linux computer over ssh with something like : DISPLAY=localhost:0 firefox http://nyan.cat I know I can open windows on my laptop over ssh ...
0
votes
0answers
65 views

Custom Hosts file entry resolves in browser but not when pinged

I have a hosts entry to redirect app-dev/ to my application server. This resolves correctly in the browser but when I try to ping app-dev/ or ssh into it, neither can resolve the name then. The only ...
0
votes
1answer
134 views

disable ssh password prompt with -l option

I'm trying to execute some commands on a remote machine using the syntax: ssh -l ${USER} ${HOSTNAME} "$SCRIPT" I get prompted for my password on the (local) machine. I need to disable this prompt: ...
3
votes
2answers
527 views

Is setting a mail user's shell to /usr/bin/passwd in the /etc/passwd file a safe way to allow them to change their own password by simply ssh'ing?

I have a machine which is used mostly as a mail server: $ uname -a Linux myhost.com 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux and I would ...
2
votes
2answers
1k views

log into SSH server using a subdomain by adding an “A Record”

I SSH into a series of static IP addresses, but it's easy to forget which one is which. I'd like to replace the static IP addresses with a subdomain of a domain I own. I.e., 55.55.555.55 --> ...
1
vote
0answers
3k views

Problematic SSH to Vagrant virtual machine

I have a Vagrant guest VM running FC18 on a host running FC19. The guest vagrantfile includes public networking (config.vm.network 'public_network'). After a vagrant up, I can see (ifconfig) three ...
0
votes
1answer
236 views

How to get a mosh-server secret key from the running process?

I have standard mosh setup, a mosh-client on local.machine, and a mosh-server on remote.machine. I've still got access to both mosh-client, and the mosh-server processes, both are still running. Is ...
0
votes
1answer
870 views

Tunneling to access a remote server: channel 2: open failed:

I've tried looking at similar articles here but they haven't helped. I am using a tunnel to forward traffic to port 8080 of a server using the following command: ssh user@ -L 8080:SERVER:8080 -N It ...
0
votes
1answer
35 views

How to make the Delete key work in mysql prompt?

I use Putty to connect to a Linux machine from a Windows machine via ssh. The keyboard works just fine in Bash. But in the mySQL prompt, the Del key prints a ~ intsead of erasing a character. Any ...
0
votes
0answers
368 views

Remote Desktop (RDP) + Tunneling

Sorry for the long story, I tried to be crystal clear. * A little back ground * As part of a project we need to be able to access certain computers (hereafter called clients) using remote desktop ...
0
votes
1answer
930 views

SSH fails to connect

I just updated from fedora 17 to fedora 19 using fedup in both my laptop and desktop. Somehow ssh is not working in both my laptop and desktop. In both cases I ensured the following: Ports defined ...
7
votes
1answer
13k views

How can I get the scp command to overwrite the destination folder

I am using the scp command to copy some files to a remote pc, as you do with scp :) I note that the default behaviour of an scp copy for files is to overwrite any existing files. Now I want to copy a ...
1
vote
0answers
45 views

Is it possible to abort ongoing connection using xinetd access_times?

The access_times attribute in xinetd config file allows to limit access times for services. What I want to know is if I have an opened connection (an ssh one) established in allowed time, how to ...
2
votes
0answers
249 views

GUI ssh clients for mac?

Is there a GUI ssh tunneling client for mac that supports jump servers? Mulitple hops? I have tried: coachilla SSH tunnel manager Tunnelblick tunneling manually through terminal is fine, but time ...
0
votes
2answers
416 views

Avoiding geo-blocking with SSH tunneling

I live in UK and I need a Spanish IP to access some content on the internet. I rented a VPS server based in Spain, which has a Spanish IP. Now I folowed this tutorial to create a SSH tunnel to my ...
2
votes
1answer
2k views

Why doesn't my Raspberry Pi's IP address show up on my D-LINK router under LAN?

I have a Raspberry Pi B R3, and I want to configure it to be a server. I am planning on plugging it directly to my router and then using SSH to control it. I have turned on SSH, moved my RPi to the ...
1
vote
2answers
413 views

Linux/SSH - get EC2 instance to read local .bashrc file

I have a custom .bashrc file with color codes locally on my Linux machine running Ubuntu 12.04 for both my user and root. I connect to Amazon EC2 instances daily running the same distro and would ...
1
vote
2answers
2k views

Can't access my ssh linux server when outside network

So I've been scouring the internet for days trying to figure this out and can't figure it out. I know its going to be an easy one. So I recently took an old desktop and loaded ubuntu server 12.04 on ...
0
votes
2answers
174 views

Overwraping lines when using ssh by osx terminal

I'm using ssh command from osx terminal to connect my centos remote server. If I type long string and want to go next line, the characters don't go to second line but come back the first line left ...
5
votes
1answer
388 views

SSH freezing with ControlPersist on

I recently enabled ControlMaster and ControlPersist in SSH so that it reuses and multiplexes connections for speed. The config is: ControlMaster auto ControlPath /tmp/ssh_mux_%h_%p_%r ControlPersist ...
0
votes
1answer
542 views

unable to connect to mysql over ssh tunnel to virtual machine

my setup host: win 7 guest : opensuse [10.0.2.15] Ports forwarded 80, 22 from 127.0.0.1 to 10.0.2.15 Connection to VM using winscp with user@127.0.0.1:22 using public key authentication is working. I ...
2
votes
1answer
229 views

How to get a bash prompt in a ssh tunnel with rsa keys?

After setting client and server with the public keys and allowing PubKeyAuthentication yes, I issue the following command and get a shell that waits indefinitely. mad@amd:~> ssh -T ...
0
votes
1answer
630 views

How can I specify a resolution for fullscreen applications through cygwin/x?

Most easily explained with an example. On my windows machine in cygwin I start the x server with: matthew@cygwin $ startxwin Then I ssh to my linux mint machine with X forwarding matthew@cygwin $ ...