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

0
votes
1answer
9 views

How to ssh from Linux client to OS X host without error message “ssh_exchange_identification: Connection closed by remote host”?

My LAN comprises a desktop computer running Linux (Debian Wheezy), a MacBook with OS X Mavericks, and a modem-router; ssh with Linux host and OS X client functions well - no problems connecting from ...
2
votes
2answers
51 views

Bash / exit status is 0, while expected is 255

Have a code I've used for the tests hola="cd /var && ssh localhost.error" $hola echo $? Executing just cd /var && ssh localhost.error will return code 255. But executing ...
0
votes
1answer
12 views

Download system file with PermitRootLogin no

I have a remote server with root and regular user access to it, however the direct root access is forbidden using PermitRootLogin no in the ssh configuration file. So I'm left with no option to ...
0
votes
0answers
31 views

Unable to SSH into freshly installed debian VM, “Permission denied, please try again.” error

I just set up a Debian 7 VM. I can ping my VM from host OS, which is Ubuntu 14.1, but can not ssh into VM. Here is the output of ssh -v EDIT: I am using virtulbox. I am not using any command line ...
2
votes
1answer
15 views

Change puTTy presets via registry

I am fixing presets through the .reg file instead of in puTTy because I am going to make this an open source registry. Mostly changing themes, and my school doesn't know what the hell they are doing ...
1
vote
2answers
21 views

Is there any way to open a program on a specific tty?

I have a PC with no mouse or keyboard, but it is connected to a monitor. I was wondering if is it possible to open a program remotely (like via SSH) in a specific tty (like tty1) so I would able to ...
1
vote
1answer
30 views

Transfer file via SSH from server back to client

I am logged to remote server via ssh (linux) or via putty(windows). I want to copy file back to my origin machine from remote bash prompt (because of convenience). I know I can launch FileZilla or ...
0
votes
1answer
15 views

Append to file through SSH is failing with Invalid Argument

I'm trying to append to one of my inittab files through SSH from a different server. I've tried several attempts but seem to be failing. Any suggestions on how I can accomplish this would be greatly ...
0
votes
0answers
22 views

WinRM or PowerShell Server?

I would like to be able to remote into my Windows machines with a command line only interface, to PowerShell. It must be secure. It seems like there are two options for doing this. One is the ...
-1
votes
1answer
23 views

Is it possible to connect to router through ssh?

I have a WiFi-router (cisco linksys) at my job and I have to access the database of our website frequently, but the access to the database is restricted and is only possible from my workplace. I read ...
0
votes
0answers
19 views

Batch arguments for SSH Secure Shell in Windows 7?

I installed SSH Secure Shell to connect to my remote server, and I want to automate the process of updating my website. I was going to make a batch script to automatically push and pull from my site ...
0
votes
0answers
15 views

Is there a simple way to automatically send through scp any file modified in a folder to a remote folder?

Put it simply: I have a folder full of files and subfolders with more files. I would like to have a mirror of that folder in a remote server so anytime a file is modified on my machine it gets ...
-1
votes
0answers
13 views

trying knock a server using windows xp without admin access

Is there any way that i can send a single tcp syn packet to a server, iam using windows xp and cannot install any software, so it must be portable, because i have no admin access. I tried iperf, ...
0
votes
1answer
18 views

ssh keeps asking for new password

I want to login to a Linux box with openssh installed. After each login ssh requests me to change my password because it is outdated. How can I prefent this? The server system is created with ...
0
votes
0answers
4 views

SSH passwordless login failed with manual configuraion while `ssh-copy-id` succeeded

I'm setting up passwordless login on several Linux machines (Cent OS). I used ssh-copy-id to configure some machines and also manually set up others. What confuses me is that machines configured ...
0
votes
0answers
15 views

Re-add ssh key every time I restart my mac

Every time I try to interact with git after I restart my machine I and given an error saying I have been denied access. To fix this I enter the command sudo ssh-add -K ~/.ssh/github_rsa This ...
0
votes
1answer
16 views

Pipe putty context to client clipboard?

Is there a command I can execute like cat <long file> | clipboard From within a putty session (connected to linux server) to my windows client? I know I can select an area in the putty ...
0
votes
0answers
12 views

Invoking a local command on every successful connect when using ssh multiplexing?

I'd like to automatically run a command every time I successfully connect to a remote host via ssh. I can do this for the first connection to each host using the PermitLocalCommand yes and ...
0
votes
1answer
22 views

What Linux distribution to a server on an old PC

I have an old PC with 2G RAM, 30G SATA HDD with a pentium II processor. I wonder what Linux distro to make my own server ? This server will be used for: gcc/g++ with vim/emacs I don't want any GUI ...
0
votes
1answer
18 views

Using a .PEM key without a password on OSX, but asking for password

I have a PEM key named relatient2.pem that I was given by a client I'm working for. I've already put it in my ~/.ssh folder and have given it permissions of 600. When running: ssh ...
0
votes
0answers
20 views

Using the windows certificate store for git SSH

I am currently working on setting up a build environment that will use OpenSSH with certificates as the primary authentication method (Certificates, not public-private keys). The build environment ...
0
votes
0answers
12 views

MOSH into bastion server, SSH into internal hosts

I have ssh configured to automatically forward through the bastion host: Host foo HostName foo.example.com Host bar ProxyCommand ssh -q foo nc -q0 %h.dmz %p User bar_user This works. ...
0
votes
0answers
44 views

How can I share my IP with my friend in another place? [closed]

Our web service have IP restriction and only our static IP address in Office can access the web service. How can I make my friend in another place to use my IP through my computer? Remote Desktop or ...
-1
votes
0answers
10 views

Central repository without working copy on Windows

I want to create a central Git repository (for re-testing before production) on a local server (Windows 7) without a working-copy. Also I want to connect to this computer and pull-checkout etc the ...
0
votes
3answers
39 views

Tunnelling into a computer to get access to Internet

I have a basic understanding of tunnelling The Remote system has a web server installed and connects to internet using a LAN proxy server. I can tunnel into Remote Computer(Dynamic Port Forwarding) ...
0
votes
0answers
25 views

Replace Linux with Windows via SSH

Is there a way to replace Linux with a Microsoft Server, only by using a shell? I know that there a "easy" ways to install Windows in a virtual maschine, and simply boot form that, but that is not ...
0
votes
1answer
18 views

SSH blocks on 'expecting SSH2_MSG_KEX_DH_GEX_GROUP' but telnet to port 22 works

I'm trying to connect over SSH to a server, but this happens: 14:14:49 9 ~$ ssh root@the-server Connection closed by 111.112.113.114 When running SSH with -vvv, SSH stops on 'expecting ...
0
votes
3answers
84 views

Time Zone is getting different over ssh command & normal ssh

Whenever I run a date command over SSH the timezone shows different and if I login to server with SSH and if I run the same command it is completely different. Running command with SSH >ssh ...
0
votes
0answers
9 views

VNC server immedietly closes connection

So, I am attempting to use VNC over SSH via this method. However when I type the command vncviewer localhost:[port] I get the response vncviewer: VNC server closed connection. However, I do have ...
0
votes
0answers
10 views

How to use 'Keychain Access.app' to manage ssh keys with a single ssh-agent?

I don't want to type the passphrase to decrypt my private ssh key every time I use it, but I do want to type it occasionally so I won't forget it. The first time I'm using ssh since restarting or ...
0
votes
0answers
24 views

ssh under OS X 10.6.8 outgoing Permission denied

I have an OS X 10.6.8 installation that allows ssh into it (but not necessarily much further). However when it comes to ssh out from this installation, it fails in the two instances I can test, both ...
0
votes
0answers
19 views

How to go through this duplicity stalled connection?

I am trying to set up backups via duplicity. Here is the use case: ~$ duplicity --encrypt-key CA17A4FA --progress --ssh-options="-l 8192" ~/Documents/ ssh://my.distant.host/save/docs/Documents Local ...
0
votes
0answers
11 views

How can I connect to apex oracle database using ssh?

I have obtained a workspace in apex.oracle.com , where I can use database provided for me. Now I can run the sql command in browser to do operations, but thats kinda slow. So what I need to do is , ...
0
votes
1answer
13 views

How to run a script on boot?

i have the following commands i want to run when the raspberry pi boots up, it is for my bitcoin minner to start cd /home/pi/cgminer-4.5.0 sudo ./cgminer -o http://xxxxxxxxxxx -u xxxxxxxx -p ...
0
votes
0answers
20 views

Ubuntu 14.04 ssh server hanging when connecting but pings works

I am running an Ubuntu ssh server with login and ChallengeResponseAuthentication enabled. However, the following command outputs this and hangs until timing out: ssh -vvv name@xxx.xx.xxx.xxx ...
0
votes
0answers
6 views

CygWin shortcut to launch server, connect and start a program

I have miraculously only spent about 20 minutes getting an installation of cygwin to communicate with a remote box that I use for controlling my CNC machine. At this point, to get everything running ...
0
votes
0answers
28 views

SSH and telnet fail strangely on an embedded linux system

The target machine is an embedded linux running BusyBox v1.00-rc2 (probably) on an ARM board. It's sealed and I can't open it, not that I would have the resources or knowledge to do anything even if I ...
0
votes
2answers
23 views

When I launch a gui app via ssh on Windows 7, why is the GUI not rendered?

Machine A is running Putty connected to Machine B: C:\Putty>runas /user:admin "notepad" Machine B is running freesshd server: Starts the notepad.exe process, but does not render the GUI. Am I ...
0
votes
1answer
24 views

is it okay to allow password access to server?

I am getting ready to host my first webserver. I noticed that cloud providers allow access to your server either through a password or via ssh only. Do web administrators generally prefer the ssh only ...
0
votes
1answer
14 views

Missing ssh-keygen command on my system and need to generate keys

I guess the simplest answer would be install openSSH, however this is not so easy in my case. This is small router without packaging system, all is at flash disk. I don't want to install packaging ...
2
votes
2answers
27 views

Will a query which may take hours to execute keep executing on remote server if I close the connection after executing the command?

If I connect to a remote database server via ssh, start mysql client and execute a query which may take a couple of hours to execute, then close the connection, will the query continue to execute ...
0
votes
1answer
25 views

Amazon EC2 Instance Continually Loses Connectivity

I am currently running wordpress on an Amazon ec2 instance, which runs fine with no problems most of the time, but occasionally outside connection to the instance shuts down. I can't access it over ...
0
votes
1answer
35 views

Using GNU screen to create a split screen environment from command line

Could someone please point me towards the syntax for using GNU screen from the command line. On a previous cluster, I managed to create a bash script that would create X number of tiled shells, each ...
0
votes
0answers
17 views

Windows - can't get Unison to run on Windows (bash: unison: command not found)

Windows 7 64 bit Hi, I installed cygwin and ssh and some other packages along with it. I also downloaded Unison and copied it to folders in c:\Program Files\Unison and added that path to the ...
0
votes
0answers
19 views

ssh-agent/ssh-add - how can I force confirmation by default?

I use ssh forwarding alot and I'm concerned about "agent hijacking", so, I like to use -c option when calling ssh-add, which enforces confirmation on every key usage. How can I turn the confirmations ...
0
votes
0answers
14 views

How do I set up an ssh local forward over vpn?

I'm trying to ssh into a work computer through my VPN, but am having a hard time getting it to work. My setup looks something like: +-----------Work ...
1
vote
2answers
18 views

ssh_config, host section for servers in search domain

I have test.example.com in my DNS search domains. When I ssh server01, it connects to my server as expected. However it doesn't follow my ssh_config rules because it doesn't match: Host ...
0
votes
1answer
34 views

Remote user password does not work for SSH

I have enabled remote login on my OS X mavericks macbook pro. After I ssh user@ip I am prompted for the remote user password. When I enter the remote user's password it's rejected. I am confident the ...
0
votes
1answer
24 views

SSH authorized_keys and newline

I am trying to configure SSH with public-key authentication on Debian. I can't seem to get it to work because auth.log keeps saying that can't read key type:...(key line)\n. It keeps complaining ...
0
votes
0answers
12 views

DD-WRT download for Linksys WRT54GLv1.1. Misleading typo in the dd-wrt website?

I downloaded build 14896 here (http://www.dd-wrt.com/site/support/router-database), which is labeled as "pre-SP2" from the website but the web interface of the router says dd-wrt v24-sp2 (not ...