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
2answers
35 views

Close SSH connection

I'm using Mac's Terminal App and I know how to connect to an external server via ssh (ssh -l username domain.com). But how do I close the connection once I'm done? Thanks.
1
vote
0answers
16 views

Linux CLI Connect Manager?

I am looking for a connection manager for Linux that runs in the CLI. To be clear, by connection manager I mean a program that allows you to create, save, and quickly launch remote connections. ...
0
votes
2answers
53 views

Is there a (free) way to set up remote desktop sharing without configuring the router?

I want to be able to access a linux machine at home from anywhere. I understand just enough about routers that I normally need some static ip address. I have read about DynDNS, and honestly do not ...
0
votes
1answer
26 views

SSHFS files from one server to another

I am trying to find the most secure way to transfer files from one server to another. I have the following architecture: Currently I am using the main user salamis in order to mount the ...
0
votes
1answer
28 views

How do I transfer a file over ssh from one machine to another?

My professor wants us to email him source files, but he wants us to edit over ssh using vi. How do I transfer a file over ssh from one machine to another?
0
votes
1answer
22 views

chaining ssh tcp port forwarding

I need to connect to a DB server which accepts connections on port 1521, I can only access this from a remote machine which I need to ssh in to through another gateway. ie from home home $ ssh ...
1
vote
2answers
42 views

Using ssh key pair to encrypt files

Is it possible to encrypt a text file using a ssh key pair using gnupg? Where I work we already have our pair created and will be very useful to use these keys to send encrypted files. Thanks!
1
vote
3answers
68 views

Why is ssh not built into windows? [closed]

SSH is built into most POSIX style operating systems. I know SSH functionality can be added to windows using tools such as Putty, but is there any reason, commercial or otherwise, why ssh is not built ...
0
votes
1answer
26 views

How to get a remote desktop server (RDP) to automatically SSH back to a connecting client?

I am trying to automate the process of connecting to a Windows machine via RDP and then initiating an ssh tunnel back to the client machine. The way I currently manually handle this: I log into the ...
0
votes
1answer
25 views

How to diagnose proxy over ssh?

Recently I've tried to set up proxy using ssh -D 2454 username@servername (to browse the Internet through ssh tunnel), but failed to do this correctly. I would be happy for any suggestions and/or ...
0
votes
2answers
35 views

how can i set up ssh on home network from windows 7 to linux?

I have a windows 7 machine and a linux machine. I want to SSH from windows to linux. How would I set this up if both are connected to my router at home? Would there be any changes necessary if I left ...
0
votes
0answers
35 views

using ssh tunnel to access localhost remotely

I'm having a lot of trouble using SSH tunnel to access my local host. I have been using the below and can't access my locahost over the web like this. ssh -nNt -vg -g -R :9999:localhost:8080 ...
1
vote
3answers
79 views

What is the Putty equivalent command for Mac OS X?

In my Windows system, I was able to create a tunnel by running the command below using Putty: putty.exe -D 12345 -P 8888 localhost I'm not used to Mac yet and I would like to try it out on Mac. ...
0
votes
2answers
18 views

Deleting file with reserved characters via SSH

While developing a server-side application, I accidentally created a couple of files that are named similar to this: files.json Even after I add the necessary backslashes to try to rm those files, ...
1
vote
1answer
28 views

How to use scp between servers

I have 2 Linux machines (CentOS), and I want to transfer a file from one of them to a directory on the other. A co-worker suggested using scp. I've looked at the official docs, and tried getting it to ...
0
votes
0answers
33 views

SSH - remote address to local IP

At start, sorry for my english. I have remote computer without IP (only no-ip address) with http server, mysql etc. Now with my laptop i want to make connection with the remote PC over SSH and make ...
0
votes
3answers
87 views

Can I create a configuration file for a shell script?

Is it possible to create a .sh shell or .command file with a configuration file? I need to backup websites via Terminal and be able to put some data to configuration files, and have the shell execute ...
1
vote
3answers
51 views

using puttygen generated public keys in unix environment?

(unix, here: ubuntu 10.4) I know how to create ssh key pairs in unix (ssh-keygen) and how to do it in windows (puttygen). the missing part in my case would be how to use a keypair, generated in ...
0
votes
0answers
19 views

Temporarily only allow network-access via (sshd-socks) Proxy

I am alot on business trips using the hotel's hotspot. I connect to my solaris-server using putty/ssh and establish a socks-proxy. Using Chrome and Proxy Switchy, I surf via the sshd's socks-proxy. ...
2
votes
2answers
23 views

How do I use non-latin alphabet characters in a framebuffer console?

How do you guys use Linux when you have lots of files with non-Latin alphabets, or even Chinese/Japanese? I don't have a problem with Windows, because I do everything in the GUI (it's hard not to), ...
1
vote
1answer
26 views

Pageant alternative for Cygwin?

I would like to be able to access my ssh connections without having to type in the passphrase for my key file each time. Is that an app like Pageant that works with Cygwin to do this?
2
votes
1answer
37 views

what is difference between .ssh and .ssh2 directories

Why I have both in home directory? Is this just different versiosn and one can be deletec? When I generate SSH public/private key with program ssh-keygen, which is used?
1
vote
1answer
51 views

SSH download file from web server

I need to do a backup on a website, but I need to download locally to a folder on my hard drive. Example: scp name.zip -> MyMac/Documents/Backup This can be done via shell, Terminal, etc. What ...
0
votes
1answer
80 views

strange permission error involving ssh, Cygwin, Windows 7, and .sh files

I am new to Cygwin, ssh, and messing with file permissions and have a problem. On computer WORKER1, I am attempting to ssh into computer WORKER2 and then running a .sh file on WORKER1 from there. From ...
-3
votes
0answers
47 views

OSX Terminal Shell to Backup Website+Database [closed]

all i need to be write shell script in macosx to backup my website files and database and compress it and download locally to computer. please help me.
0
votes
0answers
74 views

SSH host is down

When connecting to any of my servers over the local LAN from my macbook pro I get ssh host is down, however connecting from issh on my ipad does not result in the same problem. Also I have logged ...
11
votes
4answers
503 views

How does SSH encryption work?

I've read about generating 2 keys (private and public) on client host and copying the public key to the server host. As I understand it, (correct me if i'm wrong): The server encrypts data with the ...
2
votes
3answers
77 views

Login with SSH user that has no password set

I have a user without a password set (i.e. passwd -d). I would not like to use public keys on this setup. Is there a way to SSH login to such a user?
1
vote
1answer
21 views

How to migrate multiple SSH certificates to a different computer?

How to migrate multiple SSH certificates to a different computer? I have generated multiple SSH crtificates (key pairs) on computer A and copied the .ssh directory including the default key pair ...
2
votes
3answers
43 views

Knowing user is sshing in from a shell script?

I have a shell script which I would like to do one thing if the user is physically using the computer, and one thing if the user is logged in via SSH. How would I go about doing that? In more ...
1
vote
1answer
85 views

Can't seem to SSH into my CentOS Virtualbox?

I can't seem to SSH into my CentOS VirtualBox 4.0 running on Windows 7 64-bit. SSHD is running. I've forwarded port 2222 on localhost to the virtual machine (port 22). The network adapter is NAT ...
0
votes
2answers
34 views

Uploading file via ssh, how to block it until the transfer done?

I'll explain it: I got apache installed on my Linux Ubuntu and i need to upload some big files and I want to make it available to download only when the transfer done. it's possible to do it?
-2
votes
0answers
34 views

ssh root@localhost error; help me hack this box :) [migrated]

I need to gain a root shell on a linux vm for a security class. I have a user account on the system and a means to write to any file (i.e. /etc...) and want to escalate my privileges with: ssh ...
0
votes
2answers
25 views

Weird Java GUI behavior on windows PC via SSH tunneling to/from Linux machine

I have a very weird problem with a Java GUI that I've built at work. It is so weird I don't even know where to start to look for help!! We have a standalone system at an offsite location consisting ...
-3
votes
0answers
33 views

scp that offers Interoperability with a terminal - can i open a shell in a gui? [closed]

well i need a SFT-client that offers Advanced SSH features. filezilla does not - winSCP does not run on linux - but wait it does: i heard about a plugin since FileZilla allows SFTP as well it is ...
0
votes
2answers
84 views

setgid bit always unset when changing file permissions

good evening dear Serverfolks! i am a newbi so do not bear with me! I run a linux sever that is administered by a friend of me. He prepares the chown and permissins - with the setgit-bit to on. ...
0
votes
1answer
44 views

how to use a normal ssh key with tortoise/plink/pageant

I am normally a linux user and therefore I generated all my rsa-keypairs there. Now I have to use a windows system to do some work, and therefore need to get my repositories via ssh, but unfortunately ...
0
votes
0answers
22 views

Remote login in sharing pane always on but ssh is not working

On my work i've a mac pro intel with Leopard server. Somebody was turning of remote login in the sharing pane too often so İ was searching for a way to enable remote login but hiding it from the ...
0
votes
1answer
45 views

Send SIGTERM signal to a process running inside ssh

Is it possible to send a SIGTERM (or other) signal to a process inside ssh, for example: ssh hostname 'sleep 10; echo done' What can I do to interrupt the sleep command? If I press ctrl-c, the ssh ...
-2
votes
0answers
67 views

Free (as in Freedom) or open source utility to mount shares via SSH/SFTP in Windows? [closed]

For Linux based systems there is the Free (as in Freedom) sshfs which lets you "mount" a network share via SSH or SFTP. Is there an equivalent that works on Micro$oft Windows, usable both in XP and ...
1
vote
2answers
66 views

How to forward X through two SSH tunnels?

I'm trying to run an X program on my home computer from my work computer. The basic setup is this: Arch Linux work computer -> OpenBSD SSH router(at home) -> Arch Linux home computer(with SSH) I've ...
0
votes
2answers
97 views

Move files on a remote machine via ssh

I am trying to move files on a remote machine from folder A to folder B via ssh. I am using this command: ssh user@server "sh scan/script.sh" This will run a script which contains some file ...
2
votes
2answers
95 views

Git permission denied (public key) error

I have connected many times to github and know about generating ssh keys and putting the id_rsa.pub into github settings. But for some reason with this install I can not get it to connect. I am just ...
2
votes
2answers
51 views

Unix and Cloud Computing

I have had this question for a long time. The "new" thing now is cloud computing. Files stored online, processing done on other machines online etc etc.. I have been working on a project for a while, ...
1
vote
2answers
67 views

How to retrieve files to local machine when logged in to SSH?

I know that you can grab files with scp like this: scp user@remote_machine:/path/to/source /path/to/destination However, I'd like to know if there is an easier way to do this, when I'm already ...
1
vote
1answer
46 views

Transfer ONLY email accounts from one server to another

Okay. So the company I work with just transferred web servers. I have SSH access to both machines. Without making a FULL cpanel backup, is there a way I can transfer JUST the email accounts from the ...
0
votes
0answers
41 views

Cygwin SSH Connection Host key verification failed

I'm trying to establish a SSH connection with my school's server. I have already created the public-private key pair. I can connect to the server only using gitbush (mingw32) and everything seems ...
0
votes
0answers
54 views

ssh through port 443 alongside webserver

I'm looking to move ssh off port 22, and had tried out sslh; sslh ssl/ssh multiplexer - accepts HTTPS, SSH, OpenVPN, tinc and XMPP connections on the same port. This makes it possible to connect to ...
0
votes
1answer
90 views

SSH Config - Multiple proxy configurations

I'm wanting to try and set up an easy way to manage my SSH proxy settings. I find I often want to SSH to my server from three different locations - two locations each have their own proxy server which ...
0
votes
1answer
23 views

How to set .ssh/config so it can be used on different computers where my username are different?

Host foo HostName foo.com User specialuser IdentityFile /Users/XXX/.ssh/id_rsa Host * User defaultuser On most machines, my UNIX login user name is XXX. But on one particular machine, it is ...

1 2 3 4 5 28