I have an openvpn (version 2.1_rc15 at both ends) connection setup between two gentoo boxes using shared keys. it works fine for the most part. I use mysql, http, ftp, scp over the vpn with no problems. But when I ssh from the client to the server over the vpn, weird things happen. I can login, i can execute some commands. But if i try t...
Hi,
I recently contacted a web host regarding support for external database access to a Microsoft SQL Server database included in a package they offer. They replied saying that it is only possible with an SSH-tunnel.
Is it possible to connect to a SQL Server database in Visual Studio using an SSH-tunnel? It is important for me to be ab...
I Want to exit ssh:
How does the below line work:
ssh -f -T ${USAGE_2_USER}@${USAGE_2_HOST}
Or do i need to write it some other way . Please tell should I use exit with ssh an how?
I am using ssh in my script .
I want to exit from it after the execution of it, with out showing them up in the proccess.
...
I'm attempting to edit files on a remote system. I've ssh'd to the system and I start editing with vim.
However, I notice that all the lines are drawing 2 lines above where they really exist in the file. I assumed this was a problem I could fix by dropping my terminal settings to something simpler, but that didn't help.
My TERM varia...
Hi Thanks for reading my question. I currently use Mac Terminal to use MySQL. I connect to either localhost or a remote server. Should I be using SSH?
...
In order to backup large database partitions to a remote machine using SFTP, I'd like to use the databases dump command and send it directly over using SFTP to a remote location.
This is useful when needing to dump large data sets when you don't have enough local disk space to create the backup file, and then copy it to a remote locatio...
I am trying to connect to a remote server through ssh.
$ssh "username"@host "command"
which prompts for password which can be done in interactive systems.But I want to automate this by passing the password as argument instead of typing interactively.
I am using ksh shell and I can't use expect is there any ksh specific solution to con...
I've followed the instructions in the following link to create my own RMI registry and jmx server on a single port inside tomcat. According to the comments, I need to set -Djava.rmi.server.hostname=localhost. Once I do that, I can indeed connect to my server via jconsole using ssh port forwarding.
http://blogs.sun.com/jmxetc/entry/con...
I need to tunnel the connections (mostly TCP) made by an application through Socks5, SSH or HTTPS.
So far, I've found 3 ways to do this: api hooks, winsock lsp and a driver.
I'm looking for advice on the best way to handle this, and any recommendations on SDK's that could abstract this task for me (free/open-source preferred, but com...
I want to run a command using ssh.
I am using the SharpSSH library, as in this example:
using System;
using Tamir.SharpSsh;
class Program {
static void Main(string[] args) {
string hostName = "host.foo.com";
string userName = "user";
string privateKeyFile = @"C:\privatekey.private";
string privateKey...
We have a small office server running Linux Centos for internal use. I can connect to it externally though using Putty with SSH.
Since the server does not have any kind of SSL certificate, is using putty ssh still secure?
Thanks
...
Hello all,
I'm trying to achieve the following:
I have two hosts A and B. A establishes a remote port forwarding tunnel on B, i.e. B is the one a port is forwarded on to some where else and A is the one that sets up the tunnel. I tried the script rforward.py that ships with paramiko and it works very well so far. (I'm running rforward....
I am following this MediaTemple KB article and stuck at the last step. When I try to run the websrvmng (using the ssh terminal in Plesk) using the code the KB references:
/usr/local/psa/admin/sbin/websrvmng -v -a
I receive a 'File or Directory not found' error. I am a n00b when it comes to this stuff and would really appreciate any ad...
I'm using SSH to deploy my Java artifacts to a server. I have the keys set up so that I can interactively SSH to the server without requiring a password, but when I try to run the "mvn deploy" or "mvn release:perform" commands, it hangs (at what I assume is the password prompt).
My ~/.m2/settings.xml file contains the username for the s...
How do i run
ssh-add key
sudo hg clone [email protected]/etc/etc
but use my ssh keys and not the superusers.
Hey everyone, when i use sudo with for example, sudo hg clone [email protected]/etc/etc after i have added a key to my user account it doesnt work. I remember this is because the sudo is ran as the superuser but that user cannot h...
I have a Windows Server 2008 machine (iis7) that has CopSSH set up on it. To connect to it, I have a Windows 7 machine with Mercurial 1.5.1 (and TortoiseHg) installed.
I can connect to the server using PuTTY with a non-standard ssh port and a .ppk file just fine. So I know the server can be SSH'd into.
Next, I wanted to use the CLI to ...
Hi All,
Has anybody installed git and ControlControl and got CruiseControl to pull from GitHub on a window 2003 server.
I keep getting 'public key errors (access denied)' - Which is good i suppose as that confirms git is talking to GitHub.
However what is not good is that I don't not know where to install the rsa keys so they will be p...
I need to allow access to an svn repository using email addresses as the user name. I can log in to the server over ssh no problem by changing the email address "@" to a "$" like so:
ssh [email protected]
Unfortunately, the same does not work for svn+ssh. This gets me nowhere:
svn ls svn+ssh://user.name$mydomain.com...
How can I connect to a MySQL database that requires an SSH tunnel using PHP and the Zend Framework?
...
I am using ganymed-ssh2-build210 in my module which provides support for SSH2. Can anyone please tell me if SSH1 can be supported by the same jar?
...