An introduction to OpenSSH part 2 — copy files

(originally posted at www.linuxboxadmin.com )
This time we’ll talk about transferring files using OpenSSH. The most
common ways to transfer files between Unix hosts are: rcp, ftp, and
rsync.

rcp and its SSH version: scpThe command rcp works like cp, but it can copy files to and from
remote files. For example, if you want to copy a “test” file […]

An introduction to OpenSSH

(originally posted at www.linuxboxadmin.com )
Well, someone want me to write something about OpenSSH, so here it is.

Why SSH?A lot of Internet protocols are based on telnet, FTP, POP3, SMTP,
etc. That is, these protocols works like two man talking:
“Hello, this is John.”
“Hi, John, please provide your password.”
“My password is ’secret’.”
“OK, you have the right password, please […]

Socrates’ Fundamental Principles from Plato’s Crito

P1: We must always act on the basis of good reasons and good
reasoning, not out of fear, mere self-interest, etc.

P1(a): We value the opininons of those who know, not the
many(hoipolloi).
P1(b): The principles on which we rely must stand the tests of
time and change of circumstances, and the conclusions we draw from
them must be ones to […]

pylons

I gave Pylons a try today, followed the turorials, read some
documents, and compared it with my current Python web frame work of
choice: TurboGears.
Though many people say good words for pylons, I believe TurboGears is
still a good choice for me at this time:

TG is one year older than Pylons, which means more stable most of
the time
TG […]

Dynamic handling of ‘virtual file names’, or URL paths with file extensions

Well TurboGears uses CherryPY as the URL dispatcher. And by default
it uses the object structure as a tree like structure for the URL
paths, like the file system structure.
This works fine most of the time. However, the Python function name is
quite restrict than what we can use in an URL. For example, the “.”
character is […]

xclip

Today I found an interesting program, xclip. It could access the X
clipboard from command line.
It makes the command line life much easier, for example, I have
alias -g C=’ |tee > (xclip) ‘
in my .zshrc. Thus a command like
ls C
will make the file listing of current PWD into the clipboard, and ready to be paste elsewhere […]

Top 6 List of Programming Top 10 Lists

Many people do their own “Top 10 list”. This is one of the best I’ve ever see. The original post is at Coding Horror and there’s alot of links there. Plus, The comment is good to read too
Jerry Weinberg: The 10 Commandments of Egoless Programming

Understand and accept that you will make mistakes.
You are […]

Why MULTICS is so slow

Well, everyone in the *nix world heard about the MULTICS system, and because it’s so slow, Unix was developed.
And today, when I reading the memory management chapter of Minix, I understand part of the reason why MULTICS is so slow: To locate a single address in the memory, it will need to look up 3 […]

Bicyclerepair man: a refactoring code browser

On my way of finding a tool to easy find defination/reference of Python code, I found Bicyclerepair man. First I just use it to find definatins and references. And after some hacking, it works pretty good with my Emacs.
After reading some document, I find it opens a BIG door: it’s a tool to help me […]

combile switching buffer and open files/directories

Tamas Patrovics posted timid.el a couple days ago, and I find it really useful:
The original goal was to help open history files with find-file. However yesterday he make it possible to use with iswitchb-buffer: The history file list also shows up there.
First of all I rebind some keys cause I don’t like move my finger […]

Close
E-mail It