If you are seeing this in your bash (SSH), It makes it tough to navigate through SSH since it doesn’t give you much information.
-bash-3.2#
To fix that, you can simply type this in your SSH when logged in:
PS1="[\u@\h \W]\$ "
Posted by Asim Zeeshan | Posted in CentOS, Linux, Ubuntu | Posted on 08-05-2010
Connect to server via SSH and then issue the following command
sudo passwd
output will be something similar to this
root@vps:~# sudo passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
The first issue that I had after installing Ubuntu 8.10 was that I could not connect to SSH on it because SSH server is not installed on Ubuntu 8.10 and it never asked me if I wanted to make a selection of what software packages I need to have installed. I guess thats why they are making a less then 25 min install promise.
Here’s how you can enable / configure / install SSH on your Ubuntu 8.10
Open a terminal window by selecting the Applications menu and selecting Terminal from the Accessories menu. In the terminal window enter the following command and press enter to execute it
sudo apt-get install openssh-server
It will automatically download and install the SSH serve and configure it to run on port 22 (default port).

Ubuntu 8.10 SSH Access
I will write another article to explain how you can change the port or enable / disable the SSH server.
If you want to use CakePHP’s bake tool on Linux command line (like I have development environment on Linux) then you can ssh to your linux box as shown in the screen shot below

Second, you can execute the cake bake command in the following manner
./cake/console/cake bake
as shown in the picture below

Do you need to convert video/audio files or generate thumbnails from Video files? Then you need FFMPEG library. I found a very nice post titled 19 ffmpeg commands for all needs.
Enjoy!
Posted by Asim Zeeshan | Posted in Linux, Tips and Tricks, Tutorials | Posted on 02-07-2008
To create a tar from a directory using SSH on Linux punch in the following command
tar -vcf backup.tar mystuff/
Where “mystuff” is a directory and backup.tar is the target compressed file.
You can also create a file called archive.tar of all the files and subdirectories in the current directory with the following command
tar -vcf backup.tar *
Note: “v” flag is for verbose mode.