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

-1
votes
1answer
94 views

where linux fedora limit concurrent opening connections in terminal?

i have some webserver around and to manage the cluster i sometimes use script which open automatically the connections &/| sync files to them using python scripts, i've found a weird problem and i ...
2
votes
1answer
2k views

Remove key from known_hosts file in ChromeOS

With the very limited ChromeOS crosh shell, how do I remove a host key from my known_hosts file in ChromeOS.
1
vote
1answer
2k views

I cant add ssh to update-rc.d, says mismatch stop runlevel

Im trying to get ssh start as the system start so I can putty my way into it remotly. I've tried sudo update-rc.d ssh defaults but ut says update-rc.d: using dependency based boot sequencing ...
5
votes
2answers
5k views

Enable SSH on a Mac in single user mode

I have an iMac that I can access only in single user mode, because of serious hardware damage. I attached to it another computer with an Ethernet cable. I would like to login remotely to the iMac ...
0
votes
1answer
341 views

msysgit on the command prompt without bash

I've got mysysgit setup with Tortoise with PuTTY and ssh. From the Tortoise side everything is working I can clone, pull, push, etc. If I drop to a command prompt and run git I see the help screen so ...
0
votes
3answers
1k views

Unix make all files copied into directory owned by me

I am working with a group on a supercomputer and we are storing all project files in my home directory, the problem is if I need to manage some of the files, I can't because they own the files. I need ...
0
votes
0answers
620 views

sudo prompts for password over ssh

I have sudo set up for a user (myuser) as follows on "hostname" (sudoers content): myuser ALL=(suser) NOPASSWD: /path/script* this works fine, so I can run the following, logged in locally as myuser ...
1
vote
1answer
586 views

OS X Terminal Remote Connection Port Number

I've been trying to set up a remote connection via terminal, but I'm running into a few issues. This is how I initially had it set up: ssh root@***.***.***.** Then I tried to add the -p 1234, but ...
0
votes
1answer
461 views

Mac OS X and root login enabled

I am running OS X Snow Leopard 10.6.8, and I've enabled root login through Directory Utility. It has a password. I get an error when I try to ssh root@localhost. ssh -v root@localhost OpenSSH_5.2p1, ...
1
vote
2answers
537 views

How would I administer my linksys router through ssh?

Most of the administrative tasks required some http service used over a web browser. Is there a way to perform adiminstrative tasks to my router through ssh? Sometimes having a GUI is not possible ...
0
votes
0answers
97 views

SSH is not working on Mac OS

Whenever I try to ssh some place, that happens: $ ssh user@someip MK-AUTH/Debian Linux V4 user@someip's password: I type the correct password and it does not work. I guess the problem is related ...
0
votes
1answer
356 views

ssh failed because I can not press [Enter] key

I've two machines. m1: Solaris Sparc SunOS 5.10 m2: ArchLinux 3.4.4 m3: Solaris Sparc SunOS 5.10 When I try to login m2 from m1, I can not press [Enter] key, it just display ^M. m1$ export ...
1
vote
1answer
389 views

SSH into my Mac OS Lion - slight dilemma

I'm trying to enable my Mac Lion (which has a username xyz) for ssh. I've done these steps: System Preferences -> Sharing -> Enable Remote Login for all Users System Preferences -> Network -> ...
4
votes
2answers
740 views

What is id_rsa.keystore?

In my .ssh directory I have the following files - drwx------ 2 rohit rohit 4096 Jun 22 03:34 ./ drwxr-xr-x 62 rohit rohit 4096 Jun 22 11:16 ../ -rw-r--r-- 1 rohit rohit 402 May 25 15:19 ...
0
votes
3answers
2k views

How to do something like `mplayer movie.mpg` from ssh and it play on the current display?

I've set up a little media center computer running Arch Linux. I want to eventually get it so that there is no keyboard or mouse required. Right now I want the solution to be SSH. My problem is that ...
1
vote
1answer
996 views

SSH Agent Forwarding Not Working [closed]

SSH Agent Forwarding stopped working for me. Any ideas as to what might be going on? I'm attaching my logs below: Connecting to the server: http://goo.gl/4xxz9 Connecting to github on server: ...
0
votes
1answer
120 views

Public-Private key pair ssh authorization for another login

Currently to connect to my server via ssh I am using ssh domain.com -l root I am authenticated with public-private key pair. My Mac username is different from root, so I need to provide -l key. ...
2
votes
1answer
148 views

How to get rid of motd on a single user account?

I know how to modify and how to get rid of motd in general, but the problem is, that I'm not allowed to sudo on my school's server - and I'd like to get rid of a quite long motd that appears each time ...
0
votes
1answer
198 views

SSHFS: send remote setup commands before mounting

I am trying to mount through sshfs (with osxfuse, former macfuse) a folder on a router. Unfortunately the router doesn't replay directly with a standard command line but requires a couple of commands ...
2
votes
4answers
631 views

How to give computer URL to access over the internet?

I would like to be able to SSH into my macs over the internet using a DNS name like my-imac@example.com or something similar instead of having to enter an IP address every time. How can I assign ...
1
vote
0answers
124 views

Configuration to point an X tty to a separate system?

Specifically, I have an Ubuntu 10.04 system with a headless Ubuntu 12.04 virtual machine, and I'm looking for a way to have it set up so pressing ctrl+alt+F8 will take me into another X client which ...
1
vote
1answer
656 views

Why doesn't redirect work for scp password input?

I want to copy from remote box with scp, while the fact that each time I have to re-enter password is annoying. So I store my password in plain text and expect the following code should work scp ...
1
vote
0answers
122 views

ssh - user xyz does not exist

when connection via ssh to a server I get the following message: -ssh-bash: User #1003 does not exit in /etc/passwd. It used to work and newly I made an update to the ssl libraries on my ubuntu. ...
-3
votes
1answer
2k views

download file using SSH in putty in windows operation system

How do you copy file from Remote to your local computer in Windows using Putty. scp -r username@remote:/path/to/folder /dest/local/path I tried this but what would I write in place of ...
2
votes
2answers
842 views

Can I re-attach SSH key forwarding through a disconnected Screen session? [duplicate]

Possible Duplicate: ssh-agent key timeout with screen or tmux on bastion host I have a laptop on which I have pageant (the PuTTy SSH key agent) running. If I ssh to a system and launch ...
0
votes
2answers
135 views

Text wrangling: How can I get just the key comment from authorized_keys?

Auditing some servers, I need a list of the comments on all the authorised keys in the authorized_keys file. How can I cut this file to display a list of comments, eg user@host? Anything can appear ...
0
votes
2answers
293 views

Unable to configure SSH in Cygwin

I'm new to Cygwin and I'm trying to install Cygwin with SSH. But currently I got a problem while configuring SSH. I passed all steps for configuring SSH until it asks for the password of the ...
3
votes
1answer
695 views

ssh-agent key timeout with screen or tmux on bastion host

Normally I have ssh-agent running, I ssh to my bastion host then open a tmux session and connect to other boxes through that. Key forwarding works for any sessions that I open from that point ...
1
vote
0answers
110 views

SSH (or other remote access) in Windows 7 outside session 0

I would like to connect to Windows 7 remotely from script (run from Linux) and be able to execute GUI commands (i.e. command that access the display device). What is the easiest way of achiving it (I ...
1
vote
1answer
1k views

Changing IP settings via ssh in Ubuntu. What should be done?

I've hear mixed things about how to handle setting IP parameters in Ubuntu. There's several sources that say if a GUI is installed like KDE or Gnome, that you should only use the network manager to ...
1
vote
3answers
128 views

Why does ssh provide insecure off-host forwarding?

In the local port forwarding invocation below, [me@TunnelBeginHost]$ ssh -L TunnelBeginPort:TunnelEndHost:TunnelEndPort ViaUser@ViaHost , given the fact that the portion of the tunnel between ...
0
votes
1answer
69 views

ssh login with multi-keys (several users) from the same workstation

Basically, as it comes from the title, I'd like to login from my workstation to a SSH server by using different account in different shells. What I'd like to do is to backup all my account from this ...
3
votes
1answer
68 views

Should I create a separate user for a backup script that uses a passphrase-less ssh key?

I currently have a back-up script running via cron. It basically is a few rsync commands stringed together. For my main shell logins I have ssh keys with passphrases, but because of the automated ...
5
votes
1answer
2k views

Preventing SSH RSA host key warnings for change of key vs IP address

I have a network with DHCP enabled, and also a computer that dual boots operating systems and has different SSH keys on each (and yes, I would like to keep different keys on each rather than copying ...
0
votes
1answer
155 views

Cannot use `su` or `sudo` after set up key-based access to SSH

I'm following this tuturial to setup key-based access to the SSH I created a user. I add copy the key to the client via ssh-copy-id <username>@<host> Becasuse ssh ...
1
vote
4answers
460 views

Do superuser things with normal user

EDIT Read answer of janos below. It's more use SSH-keys to access a root directly. I want to secure the SSH access to my server. One thing I read everywhere is to disable the root user login. ...
2
votes
2answers
1k views

Editing files on an Ubuntu server from Sublime Text 2 running on Windows

What's the best way to use Sublime Text 2 running on Windows 7 to edit files that are located on an Ubuntu server? Emacs has TRAMP which allows the remote editing of files via ssh. Something like ...
1
vote
3answers
556 views

How do I send a command to a Linux box from a Windows box in a script?

The problem: I have a backup program (BackupAssist) that can run scripts automatically after a backup. I want to automatically shut down the computer that stores my offsite backups after the backup ...
3
votes
3answers
5k views

VPN Tunnel vs SSH Tunnel

What is the difference between a tunnel, a VPN tunnel and an SSH tunnel? According to Wikipedia, "tunneling" is: Tunneling typically contrasts with a layered protocol model such as those of OSI or ...
10
votes
4answers
67k views

How can I resolve the error “cannot execute binary file”?

When I login using SSH, all I can see is this... -bash: /usr/bin/id: cannot execute binary file -bash: [: : integer expression expected I couldn't do anything in here. Commands such as halt, ...
0
votes
2answers
96 views

Showing a stack of ssh connections in terminal

I had this idea for long time and tried several ways to implement, with no luck. Tried to google many times and always finding not quite what is needed. How to do: $ ssh hostA ...
1
vote
1answer
807 views

Run windows batch file from ssh login - env vars missing

I am trying to run a windows batch file from a ssh login. I have successfully installed cygwin w/ OpenSSH on the server (windows 2003). I can log in and run the file, but the file does not run ...
1
vote
1answer
612 views

How can I connect to a SSH tunnel using PUTTY or another client, with the information available through SSH command?

I am trying to establish a connection in SSH, to a remotehost... I am having the following information from my company(example, not real data)... ssh -p 1234 -L 4321:126.4.12.3:4423 ...
1
vote
3answers
2k views

How to copy files between two open SSH shells?

If I am logged in via SSH on 2 servers and want to copy some files from one to the other (e.g. configuration from an old to a new server), what's the easiest way to do that?
0
votes
1answer
459 views

Can you set up PuTTY to SSH into machine through another machine (through an SSH tunnel)

Basically, I'm wondering if the problem from Forward SSH traffic through a middle machine can be solved using PuTTY. I gather I could start one PuTTY session to create an SSH tunnel to the first ...
1
vote
0answers
128 views

Tunnel from my home computer using my server

I have a local webserver in my Mac (OS X 10.7.3). I was wondering how could I build a tunnel to "publish" it temporarily on the internet. For example, my server is running on localhost:20000 and I ...
0
votes
1answer
759 views

ssh localhost works, but ssh [external url of localhost] doesn't

I'm trying to work out how to ssh into a machine at work (it runs an RHEL-based distribution with OpenSSH 5.3). I have been given instructions on how to set up keys, permissions, etc., which have ...
0
votes
1answer
477 views

How can I create session logs of individual SSH sessions?

Here is what I am looking for: A way to log individual SSH sessions on SunOS. I would like to have the files kept separate based upon the hostname of the device I am SSHing into. I am only using ...
0
votes
1answer
424 views

How do I ssh from OSX Lion to Ubuntu GUI?

I want to SSH from my Macbook to an ubuntu machine located on a domain in the form of xxx.ri.cmu.edu (I have a username and password to connect to it) but I want to view the GUI and not just the ...
0
votes
1answer
90 views

Access port on machine by connecting to other machine via SSH?

I have to access my home router's web interface on port 80. Unfortunately, the only way into the network I have at the moment is SSH to another machine on the same network. me ---|---SSH Box----Home ...