tramp says: “Cannot find local copy program: pscp” – but that does not mean there is something wrong with your emacs/tramp/PuTTY set-up

Every now and then I come across this error message: Cannot find local copy program: pscp This only occurs for “bigger” files (e.g. a 40k file), not for small files, because small files are being dealt with by plink. tramp-do-copy-or-rename-file-out-of-band (in lisp/net/tramp-sh.el) tries to find the copy-program on exec-path instead of PATH, so we have… Continue reading tramp says: “Cannot find local copy program: pscp” – but that does not mean there is something wrong with your emacs/tramp/PuTTY set-up

using the “telnet” utility for testing ports – it’s sort of gone (on Windows nowadays), but they allow you to re-enable it

Back in the old days before SSH was “the standard way” to log into a remote computer, there “were” a protocol (and a utility) called “telnet” in order to achieve that. But the “telnet” utility traditionally also served for testing deliberate TCP/IP ports somewhere in the Internet resp. on your “Intranet”, e.g. Can I connect… Continue reading using the “telnet” utility for testing ports – it’s sort of gone (on Windows nowadays), but they allow you to re-enable it

iReport, some Oracle database, JDBC, SQLRunner, …

Your task is to interface a rather remote Oracle database with iReport. But you are not really sure, whether you are able to successfully connect to the database at all. And you want to “explore” the database, its tables, its “views” … No CLI utility like sqlplus available as well. I am trying SQLRunner. Says something… Continue reading iReport, some Oracle database, JDBC, SQLRunner, …

if saving a file through emacs’s “tramp” is not successful …

On Windows …: PLINK.EXE is part of the PuTTY family, and it’s the utility tramp is communicating through. (You do know that, as tramp does not set itself up to make use of PuTTY.) On all platforms: Burying the tramp buffer in question is actually my 1st approach on all platforms (Linux/Mac/Windows), whenever tramp communication seems… Continue reading if saving a file through emacs’s “tramp” is not successful …

emacs/tramp/win/putty: what versions to choose in January 2016

“Windows 7 Professional” is set – because that’s the current company standard http://www.gnu.org/software/emacs/windows/ – the latest released version was fine for me: 25.0.50.1 – I am always happy to get and try the very latest released version http://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Downloading.html http://ftp.gnu.org/gnu/emacs/windows/ !!!!! https://sourceforge.net/projects/emacs-bin/files/snapshots/ !!! tramp – as packaged with the emacs at the location just referred to PuTTY to be… Continue reading emacs/tramp/win/putty: what versions to choose in January 2016

ssh to “beyond the corporate firewall” through a SOCKS proxy

https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Proxies_and_Jump_Hosts#Tunneling_SSH_Over_Tor_with_Netcat – this is THE ARTICLE — replace “Tor” in the example with your corporate SOCKS proxy http://superuser.com/questions/454210/how-can-i-use-ssh-with-a-socks-5-proxy http://linux.die.net/man/1/nc — a netcat manual page My $HOME/.ssh/config looks like this: # making use of “netcat” AKA “nc” — http://linux.die.net/man/1/nc # Host SOME_HOST_OUT_THERE User REMOTE_USER ProxyCommand /usr/bin/nc -X 5 -x SOCKS_PROXY_HOST:SOCKS_PROXY_PORT %h %p “As always” I connect to SOME_HOST_OUT_THERE like… Continue reading ssh to “beyond the corporate firewall” through a SOCKS proxy

emacs/tramp/win/putty: what versions to choose in March/April 2014

After completing my recent “incident article” on emacs/tramp/win/putty [link], I thought I should prepare an article with a clear subject resp. statement. This is it. I sort of think resp. hope, that all currently released versions work together well. But PuTTY-0.63 breaks this expectation. “Windows 7 Professional” is set – because that’s the current company… Continue reading emacs/tramp/win/putty: what versions to choose in March/April 2014

emacs/tramp/win/putty: one of the pieces involved kept removing Unix file permissions — solved!

http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html : 0.63 (released 2013-08-06) : Unix: PSCP and PSFTP now preserve the Unix file permissions, on copies in both directions. For quite a while whenever I edited a remote executable file (using emacs/tramp/putty on Windows), the file lost its executable privilige bit. Looks like that issue got solved with 0.63. What a relief! The very arrogant… Continue reading emacs/tramp/win/putty: one of the pieces involved kept removing Unix file permissions — solved!