It is ideal if we can live in a Unix only world. However sometimes we’ll need MS windows. In this part we’ll talk about using OpenSSH, or SSH in general, on MS Windows platform. On the OpenSSH Alternatives for Windows page, there is a list of available free/open source software. We’ll talk about the two […]
¶
Posted 13 August 2007
§
freebsd
‡
I really enjoy the sudo-save.el. It makes editing files owned by root quite smoothly on a local machine.
However with the recent update of sudo to 1.6.9 in the ports tree, it print a “last login time” message every time. And breaks sudo-save.el. I didn’t find time yesterday and portdowngrade to 1.8.2.
Thanks to the explaination Makoto […]
(originally posted at www.linuxboxadmin.com )
Last time when we talked about transfering files over OpenSSH, I said you can use port forwarding if you insist to use your favorite FTP client, and we have a brief HOW-TO there. This time, we’ll take a deeper look at port forwarding.
How port forwarding works.Normally network protocols works on two […]
(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 […]
(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 […]
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 […]
Well it is said that the most used command in command line is “cd”. So it’s a good idea to make it as efficient as possible.
The tool I find today is apparix. It’s like cdargs, but with CDPATH like thing, and don’t do fancy stuff like full screen menu. It allows me to do bookmark […]
¶
Posted 27 February 2007
§
freebsd
‡
Well I’ve installed pstree before, but I look it as some eye candy thing: It prints out a nice tree of processes showing the folk sequence.
However today when I was tring to figure out what was going on within my tinder and get kind of lost in the output of “ps -axww”. I found thing […]
¶
Posted 31 January 2007
§
freebsd
‡
Well in my last post I made a script to setup the title of screen window name and/or terminal title name. Now I want something more: I want a wrapper, if I call a command with this wrapper, it will set the title to the command running, and set the title back to whatever it […]
¶
Posted 21 January 2007
§
freebsd
‡
While I work on command line, mostly remotely, there’re two tools I like very much: settitle and screen. The first one change the terminal titles, so I can know which one to choose when switching among my X windows. The other, screen, well, have got lots of articles about it. It enables me to run […]
¶
Posted 16 January 2007
§
freebsd
‡