Tagged Questions

SSH is a network protocol that will allow two networked devices to exchange data on a secure channel. SSH was designed as a replacement for the insecure telnet and rlogin protocols that send data (including authentication) as plain text. SSH is most commonly used in Unix-derived systems such as OS ...

learn more… | top users | synonyms

1
vote
1answer
9 views

tmux and screen-256 TERM not supported on remote hosts

I have set up my tmux to use screen-256colors and it works great with vim. However, when I ssh to a remote host from within tmux, screen-256colors isn't recognized, so I'm getting errors like this: ...
0
votes
1answer
29 views

SSH asking for password for one user and not another

I have two users on the same machine and am attempting to set up SSH for user#2. SSH was still asking for a password for the second user so I copied the .rsa file from user#1 to user#2. although they ...
1
vote
0answers
6 views

Mac Xserver SSH - where is this setting configured?

We have two Xservers on our network. On server A all our employees have an account setup, but on B the only account is the admin account. I can ssh to server A fine with my username and pass that are ...
1
vote
0answers
17 views

Vlan issue with linux kernel 3.x

I have a strange issue with linux hosts running kernel 3.x (e.g fedora 16, ubuntu 11.10), I am unable to SSH and traceroute (only tests done currently) hanging when travelling over a vlan network ...
0
votes
1answer
14 views

Remote restore gz mysql database

I tried $> ssh root@ip "gunzip < [backupfile.sql.gz] | \ mysql -u [uname] -p[pass] [dbname]"` but get the error: ERROR 1044 (42000) at line 42: Access denied for user '[uname]'@'%' ...
0
votes
0answers
43 views

SSH service will not start on fresh Cygwin 1.7.15 install

OS: Windows 7 x64 Cygwin: 1.7.15-1 OpenSSH: 6.0p1-1 I'm attempting to install an SSH server on Windows 7. The tutorial that I'm following to do this is here: ...
0
votes
1answer
40 views

How to restrict root login with restriction

in openssh, you can restrict root login (PermitRootLogin no) but can it have an exception?
1
vote
2answers
33 views

Command to remove a ssh authorized key on server

Is there a command (or a one-liner) to remove a ssh key on a server? Something like the opposite of ssh-copy-id?
0
votes
0answers
68 views

SSH password not working from iPhone to laptop

I recently jailbroke my iPhone 4, running iOS 5.1, and am trying to recover some files that were deleted. I am new to SSH and am currently using Cygwin. The issue I'm having is that when I try to to ...
0
votes
2answers
29 views

Can ssh service be accessed in private network?

My friend has a ssh server in a private network (ip address is 10.9.11.*), can this ssh server be accessed in public network? if it's possible, please tell me how to get it. thanks
0
votes
0answers
19 views

Is there a utility to ping a server using aliases in ssh config (instead of /etc/hosts)?

I'm trying to standardize my server aliases across projects by linking together ssh config files that I can keep under version control. I'd like to be able to just define machine aliases along with ...
1
vote
1answer
24 views

How to generate key for git on NAS server?

I'm trying to set up git on my NAS server (Synology DS212J), and now I've gotten to the part where you're supposed to copy my public key... but I don't really understand what it is referring to. Is ...
1
vote
1answer
29 views

How to set up git in NAS Server (git, ssh, busybox)

I'm trying to set up git using my Synology DS212J NAS Server. I've been following these instructions: http://www.wonko.de/2010/04/set-up-git-on-synology-nas.html But I am very much a beginner with ...
2
votes
1answer
30 views

Setting up a default gateway in ssh_config

I'd like to know whether there is a way to assign a default ssh gateway to a hostname such that, whenever you attempt to ssh to the hostname it uses the gateway to reach the host. Ideally this should ...
1
vote
0answers
34 views

SSH security breach, or authentication issues, have I been hacked?

I am using a MBPro (just received) and am continually seeing a corruption with remote access, unhindered, resulting in a missing Operating System (as per Applications, in System Profiler- No ...
4
votes
2answers
39 views

Does the size of a RSA key cipher have any impact on my internet connection?

I am wanting to setup passwordless authentication to my remote linux server, I was going to generate an RSA public/private keypair. I was thinking about cipher strength like 2048 bit and 4096 bit. ...
2
votes
3answers
68 views

Telnet/ssh into a windows machine inside putty that is sshed to a linux machine

Ok so, that title isnt the greatest but i couldnt think of a better way to state it, but here is the situation: I am on a windows machine. I ssh into a linux machine using putty. This is fine. The ...
0
votes
1answer
42 views

Import a local SQL File To a Remote Server Using SSH Tunnel

I have a connection between my localhost and a remote server using putty SSH tunnel. Thats fine. Now I need a command to get the sql file on my local machine i.e. c:\folder\test.sql and import it ...
0
votes
1answer
31 views

Get notified of failed SSH login attempts on Mac

I want to enable SSH on my Mac, but I want to be notified when someone tries to log in. I'm running on a non-default port, so attempts should be rare. I'm currently running a growl notification in ...
2
votes
2answers
74 views

I get a permission denied (public key) when I try to scp in ssh

I can login to the remote server via ssh and navigate through it's file system, but as soon as I try to scp a file from the server to my laptop I get an error message. Example: user@server:/file$ ...
1
vote
1answer
38 views

ssh access using cygwin on windows 7

is there anyway to do a passwordless logon using cygwin for ssh sessions? More precisely does anyone know of any guide or suggestion how can i configure to use cygwin with sshpass utility like we have ...
0
votes
1answer
35 views

using history command with ssh and getting output with correct time stamps [closed]

Possible Duplicate: using history command with ssh and getting output with time stamps Basically i want to get a record of all commands executed on my ssh server, with their correct ...
1
vote
1answer
33 views

ssh-agent and ssh-add

Does anyone know how to make it so that I don't have to add my keys manually using ssh-add? Every time I log into my Ubuntu server box, I have to start the ssh-agent and then use ssh-add before my ...
2
votes
1answer
75 views

Start SSH Server without typing a password - Sudoers (NOPASSWD)

I would like to execute the below command line without typing a password sudo -s /bin/launchctl load -w /System/Library/LaunchDaemons/ssh.plist So I tried to add the below lines to my sudoers but ...
0
votes
1answer
30 views

multiple ssh windows & keep positions

Is there an app to would allow me to save & restore multiple SSH windows on Ubuntu? I use many ssh session windows and I would like to be able to save the screen position of every one of them ...
0
votes
1answer
53 views

iTerm2 loses “ls” colors if I ssh to a server

Why do I lose ls' colors when I ssh to a server? I would like those colors to be preserved. Is this possible? Should one do something on the server side?
5
votes
2answers
94 views

Tunneling FTP connection from home where server only accepts local IPs

I need to access an FTP server at work but the server will only accept local IPs. I cannot access it from my home machine. I have been able to ssh into my Unix work machine through PuTTY and from ...
0
votes
0answers
30 views

Can't start a service (sudo) remotely from script and keep it running

I have a service (tomcat) that needs sudo to be started. I made a simple script on the remote server in /root/bin/test.sh #!/bin/sh sudo service tomcat start read (The script needs to do other ...
0
votes
1answer
35 views

Make nautilus not show desktop via SSH

Most of the days I am connected to my home server (running Debian) via a ssh shell from my laptop. Most of the tasks are done in the prompt, but sometimes I like to have drag-and-drop-file managers, ...
0
votes
2answers
45 views

What do I do with a private key and a .ppk file to log into a remote client?

I am new to SSH and I have to log into a remote client. The owner of that client sent me a private key in a text file and a .ppk file. How do I use these to login? I'm running OS X Lion.
0
votes
1answer
29 views

Cannot see server files when connecting via SFTP?

I am not able to see the files present on the server using Filezilla ftp client. I am using SFTP connection. I am able to connect to the server. I can see only the directories but not the files. I ...
0
votes
0answers
87 views

putty connection timeout while server is running, firewall open

I am attempting to connect to my desktop using SSH through putty. The desktop is running scientific linux 6.2. I can SSH into the desktop from itself, so sshd is running correctly. I have the ssh ...
0
votes
0answers
56 views

ssh login with mail address

I have an Ldap Server configured an running and another server listen to this users database. (Ldap client) I need to force users login on ssh with user as email (dc: mail=myself@anymail.com) ...
2
votes
1answer
87 views

OpenVPN Tunnel in Tunnel

I want to connect to my OpenVPN server which inside the campus network from the internet. Getting into the campus network is possible through SSH or (another) OpenVPN connection. After that I can ...
1
vote
0answers
30 views

How often should an SSH key pair be changed? [migrated]

I've been using a 1024-bit RSA key for passwordless SSH between my own systems for years. More recently I've also started using it for passwordless access to my hosting providers and to source code ...
0
votes
1answer
31 views

avoid X11 forwarding from Mac to linux

I need to run a program on Mac remotely via ssh from a linux machine. The funny thing about the program is that it has a command line interface, but it always creates a GUI window, even if this is not ...
-5
votes
3answers
109 views

Removing log files through SSH

I host my website at GoDaddy. I have a 9GB log file that I want to delete. I've logged in via SSH as root. How do I delete the log file? Filename Size Last modified ...
1
vote
4answers
65 views

Propagating changes to multiple Linux servers with one command

So, I have a dozen of CentOS Linux servers. By and large, their configuration is mostly the same. Sometimes I need to add extra cron job (separate crontab file in /etc/cron.d/), and/or copy over a ...
0
votes
0answers
17 views

Is there a way to fix Cluster-SSH windows positions automatically?

Have you used Cluster-SSH? It's a GUI (frontend) to secure shell (ssh) which function it's to let you write the very same commands to a lot of hosts. If you open a lot of hosts at the same time, ...
1
vote
1answer
60 views

Is it better to run OpenSSH in cygwin or freesshd (on Windows Server 2003)

I found an article on Petri that explains how to install OpenSSH to Windows via cygwin. I know that OpenSSH is basically the standard SSH server for *nix distros and was wondering if that means it's ...
0
votes
1answer
34 views

Does SSHFS copy the files locally all at once, or only when I cd into them?

If I sshfs an entire filesystem at the root directory, does that mean it will download the entire root directory? Is that how SSHFS works, it physicallly downloads the whole thing? Or does it fetch ...
0
votes
0answers
160 views

Ubuntu:ssh: connect to host github.com port 22: No route to host

I am using Ubuntu 11.10 and followed the help doc at github.com to set up git and connect to github but when I got to step 5 of the set up ssh keys section :Test everything out , When I used this ...
1
vote
1answer
66 views

Why would anyone install openssh-client instead of openssh-server?

I installed openssh-server on two pc's. I can connect from both from the one to the other. So if openssh-server sends as well as receives ssh, why would you install the openssh-client, just to make ...
1
vote
2answers
40 views

SSH multihop configuration

I've been trying to setup some sort of configuration on my laptop , so I'd be able to connect to a server using SSH , directly , which i have indirect access to , i've found a great configuration ...
2
votes
1answer
127 views

OpenVPN vs. SOCKS proxy

I've been trying to set up a secure connection over which I can browse the internet, and it seems like there are two options, and SSH SOCKS proxy or OpenVPN (at least, those two are what I have found, ...
0
votes
1answer
38 views

create alias to ssh to a server and then connect to mysql

I currently have an alias to connect to a remote server: alias server='ssh user@ec2-00-00-00-000.compute-1.amazonaws.com' I would like to have an alias to connect to this server, and then ...
0
votes
2answers
108 views

Mac terminal keeps using SSH key with same fingerprint when running git clone

It doesn't matter what I do, create new SSH keys, add them manually to Heroku, delete all keys from Heroku and add a new one, force delete the entire ~/.ssh folder, overwrite id_rsa keys, create ...
0
votes
2answers
63 views

using history command with ssh and getting output with time stamps

Basically i want to get a record of all commands executed on my ssh server, with their times. The codes i have tried are : ssh user@ip 'export HISTFILE=~/.bash_history; set -o history; history' I ...
1
vote
1answer
69 views

Routing HTTP traffic over SSH

I need to access the URL http://REMOTE:54000. My network does not allow outgoing connections on port 54000. However I have SSH access to a host "TRUSTED", which does not have any such restrictions. Is ...
0
votes
2answers
41 views

Compressing files from SCP on the fly

I am retrieving a large files using SCP (from a linux system to a Windows system), now is there any way of compressing that destination file on the fly, for example: pscp -C ...

1 2 3 4 5 33