I have asked the question before but in a different manner. I am trying taking form data, compiling into a temporary CSV file and trying to send over to a client via FTP over SSL (this is the only route I am interested in hearing solutions for unless there is a workaround to doing this, I cannot make changes). I have tried the following:...
I'm trying to use Paramiko to connect to a remote host and execute a number of text file substitutions.
i, o, e = client.exec_command("perl -p -i -e 's/" + initial + "/"
+ replaced + "/g'" + conf);
Some of these commands need to be run as sudo, which results in:
sudo: sorry, you must have a tty to
...
I have a git repository on my server i can ssh over port 443. But now i want to pull from that server and push to it but git gives me connection refused. I think it's connecting over port 22 but i want it to connect over 443. I use tortoiseplink to connect with how can i make it connect through port 443 when pushing or pulling ?
...
I have a ubuntu linux machine that I have already logged into and X server is running (it is pass the login manager like gdm). I can access this machine through ssh. My goal is to start x11vnc on this machine and attach it to the X server that is already running.
When I ssh into the machine and start x11vnc, it says:
X11 was unable to ...
I have used Puttygen to create a public and a private key, and then is ready to let TortoiseHg on Windows 7 do a clone by going to
ssh://[email protected]/somecode
but there seems to be no where to add the private key to TortoiseHg? (or even just the mercurial command line)
The file is already some where on hard disk as s...
Hi,
I'm working on making a website/web application that displays images every 5 or so minutes, kinda like a webcam. The images are uploaded to an SFTP server. How can I access those from the web? Does anyone have any recommendations for what to use as well? Right now I'm looking at PHP but have checked out javascript and ruby as wel...
Hello,
I'm accessing a remote database using a local-to-remote port forwarding from my windows box. It works like a charm using putty for port forwarding but it fails when I try to forward using Ruby/Net::SSH. Here is my code snippet:
require 'rubygems'
require 'net/ssh'
Net::SSH.start(remote_host, user_name, :password => password) do...
phing 2.4.1 (current stable version) doesn't have an SSH Task to do remote scripting.
In the current trunk version, there is a SSH Task that we would like to use.
How can I upgrade my current phing installation (2.4.1) to the latest build? Can I use pear for that without breaking my current phing install?
Or would it be better to downl...
I would like to use a GUI app on my Mac (Changes http://connectedflow.com/changes/) to resolve merge conflicts when using Mercurial via SSH on my server.
What is the most straightforward way to achieve this without cloning the repository locally?
...
Hi,
I have generated a public key, private key pair.
I've set the public key to the site.
How to use the console in windows to clone a git repository?
What do I do with the private key?
I keep getting: the remote end hung up unexp.
Thanks
...
Hiya,
I want to allow some trusted users to scp files into my server (to an specific user), but I do not want to give these users a home, neither ssh login.
I'm having problems to understand the correct settings of users/groups I have to create to allow this to happen.
I will put an example;
Having:
MyUser@MyServer
MyUser belongs t...
git clone [email protected]:myapp.git
Results in a "myoldemailaddress not authorized to access myapp"
myoldemailaddress was an email address I was using on an old heroku account, but it seems to be stuck using it, I can use my new one.
I've removed the .heroku directory, and regenerated it, it has the correct user name and password, I c...
Hi
i have my own ubuntu linux box .... in that i have /home/username/.ssh/id_rsa.pub .. i copied the public key and paste the key into Git Hub. when i try to clone the git repository it says the following error
warning: Authentication failed.
Disconnected; no more authentication methods available (No further authentication methods av...
Hello!
I use psftp to sync directories on a linux box to my windows server (connection is initiated by the windows server). I use the "get -r /dir" command to get the files and directories recursively.
Is there any chance to get only the changed/new files so that existing files are not overwritten?
Thx,
Tobias
...
I am calling ::connect() on a special application port in my application and it works fine in general, however, between two particular machines, from one to the other, it fails with EHOSTUNREACH which means "No route to host."
If I can ssh on port 22 with no problems, what might be going on here that ::connect() always fails for this pa...
I am trying to setup an SSH tunnel to access Beanstalk (to bypass an annoying proxy server).
I can get this to work, but with one caveat: I have to map my Beanstalk host URL (username.svn.beanstalkapp.com) in my hosts file to 127.0.0.1 (and use the ip in place of the domain when setting up the tunnel).
The reason (I think) is that I am...
I have been searching for a pure Java SSH library to use for a project. The single most important needed feature is that it has to be able to work with command-line git, but remote-controlling command-line tools is also important.
A pretty common choice, e.g. used in the IntelliJ IDEA git integration (which works very well), seems to be...
My Expect script shows password/user in clear text and I want to hide it.
#!/usr/local/bin/expect
########################################################################################### ############
# Input: It will handle two arguments -> a device and a show command.
##############################################################...
I have been reading page after page after page about the benefits of using YUM package installer and how NOBODY should built installs from source files (which again makes no sense to me) yet the repositories and source builders always package files in Tarball format, leaving a TON of work (which usually ends up going wrong) to the indivi...
Hi,
I am trying to use Plink for running commands on remote server. Both, local & remote machine are Windows. Though I am able to connect to the remote machine using Plink, i am not able to use the '-m file' option.
I tried the following three ways but to no avail:
Try 1:
plink.exe -ssh -pw mypwd gchhabra@machine -m file.txt
Could ...