Hi,
I have written a small bash script which needs an ssh tunnel to draw data from a remote server, so it prompts the user:
echo "Please open an ssh tunnel using 'ssh -L 6000:localhost:5432 example.com'"
I would like to check whether the user had opened this tunnel, and exit with an error message if no tunnel exist. Is there any way ...
Hello,
I am trying to run a script in several machines I have at work, to gather some information about them, such as which OS they're running, what services run on them, some configurations, etc. I have a machine on which I log before ssh-ing to any of the other machines, because of the public key setup it has. From there, I can ssh in...
I don't know how SSH works and I think that's a simple question. How do I fix that exception:
com.jcraft.jsch.JSchException: UnknownHostKey: mywebsite.com.
RSA key fingerprint is 22:fb:ee:fe:18:cd:aa:9a:9c:78:89:9f:b4:78:75:b4
I know I should verify that key or something, but there is like zero documentation for Jsch. Here is my code...
Greetings,
Is there an easy way to access SSH server without installing a client.
Like in linux (Gnome) I can type ssh://192.168.2.38 and access the resource.
thanks
...
I am writing a script using boto and Python to automatically launch an Amazon EC2 instance and interact with it using SSH. Everything works fine except that every time I establish the connection, SSH prompts me to confirm the authenticity of the host like this:
The authenticity of host 'ec2-174-129-121-25.compute-1.amazonaws.com (174.12...
Used SSH Tunnel to route the traffic addressed to server1:port1 to server2:port2.
Now,the problem is that i want to redirect all TCP/IP packets from desktop addressed to server1:port1 to server2:port2.
using "hosts" file on windows, i mapped server1 ip as ipaddress of server2. [local DNS mapping]
http://server2:port2 //gives the desir...
So I have a project on a remote file system (that I have been editing via ssh). Now I need to copy the project onto my hard drive. I don't really need version control on the project anymore, so this makes me think that I should svn export the project. But there are files that haven't been checked in yet, that I need to preserve when I ma...
I'm trying to set up Fabric for deploying my Python web application and Paramiko is barfing on my private RSA key. I had been using my key successfully for 6 months, so I know it's good. In case having a passphrase was the problem, I just made a new key with no passphrase and still get the error. Help?
...
I want to login in different machine in the network and copy a file from that machine to my machine.I want to do this using python.Any idea how can i do this .I have python 2.5 a nd ubuntu 8.10
...
Hello I've got a problem accessing Oracle DB from our datacenter through a tunnel.
We've got a pretty standard datacenter with one machine being accessible from the outside
(I put it's IP in the /etc/hosts file as dc) and the Oracle DB inside. The IP address of our oracle database on internal network is 192.168.1.7
To create a tunnel I...
In my server, what option i got is a basic unlimited server can host unlimited rails project
possible to manage gem because it is using cpanel latest version with a ssh
now my confuse is ,
how can i use the no ssh feature in the cpanel and ease my deployment ?
i don't know is that possible to use the capistrano and git with it
any guid...
I'm working on an ETL using C# in which extracts data from a remote MySQL database that requires an SSH tunnel to connect. I currently have it working such that I first create my SSH tunnel manually using PuTTY and then programmaticly connect to the database normally using a MySqlConnection object, etc.
How can I programmatically creat...
I wanted to setup SVN repository on a network machine running Mac OSX 10.4. I downloaded and installed subversion from HERE.
I installed the package, and in order to call the Subversion commands from every directory, i followed the following instructions:
Open Terminal.
Enter following command.
$ pico .bash_profile
Add the followin...
I'm setting up a Ubuntu server using Windows + Putty and want to log all my console activity. In putty I have the following configuration:
[View Full Size]
The problem is, this is the log file it generates:
[View Full Size]
Notice all the unreadable characters and symbols? I assume it has something to do with the encoding, but I tr...
This might be a non-programming question.
Exposition:
1) I am using Linux.
2) I have two C++ programs, "client" and "server"; they run on different machines, they currently talk over tcpip. I have the source code to both programs.
3) Neither program does buffer over flow checking / defense against man in the middle atacks / mac / enc...
What does git update-server-info do? How do I know if I need it? The manual says:
A dumb server that does not do on-the-fly pack generations must have some auxiliary information files in $GIT_DIR/info and $GIT_OBJECT_DIRECTORY/info directories to help clients discover what references and packs the server has. This command generates ...
This is a bit involved, but please help. I'm starting to fall way behind due to this problem. God bless you for your attention to this.
I've been using C# System.Diagnostics.Process to monitor the output of a command line utility.
The process I'm monitoring "internally" launches a second process, and as soon as it does, I receive no f...
I've been having a hard time getting the output of a "sub-process" (one launched internally by a blackbox process that I'm monitoring via c# System.Diagnostics.Process)
I took the advice given by the answer of my previous post:
here. And there you can find the details of what I've been going through.
At this point, although I'm able to...
I've found that the more I refine a question, the better help I get.
So, to make the question as complete as possible, I'm providing this C# WPF solution created in Visual Studio 2010 Beta 2.
This solution exactly reproduces the problem I'm having, as I try to capture output from ssh.exe using the System.Diagnostics.Process object.
To...
I am attempting to run a regex on my site, and I am getting this response:
Compilation failed: support for \P,
\p, and \X has not been compiled at
offset 1
After googling for a bit, I've found that apparently my PCRE on my server is not UTF8 enabled, and is therefore causing problems. When I ssh with pcretest -C I get
PCRE ver...