≡ Menu

ssh client

mysqldump: Copy Database Using Shell Pipes

How do I use mysqldump command with Unix shell pipes?
[click to continue…]

Install Iptables Firewall in Redhat / CentOS Linux

How do I install iptables under Redhat (RHEL) or CentOS or Fedora Linux operating systems?
[click to continue…]

HowTo: Run Firefox From The Command Line

How do I run Firefox browser from the Linux command line (shell prompt)? How to run Firefox from command line on Linux based server?
[click to continue…]

Linux Display Ethernet Bridge Name and Information

How do I display a list of bridges under Linux? How do I show info about the Ethernet bridge configuration in the Linux kernel?
[click to continue…]

Force SSH Client To Use Given Private Key ( identity file )

Recently, my desktop hard disk crashed. So I reinstalled Linux and created a new set of private RSA keys for authentication. However, two of my remote UNIX servers still uses old DSA keys. I do not remember root password for those servers. I do have backup of private and public DSA keys and currently stored in /backup/home/user/.ssh/id_dsa and /backup/home/user/.ssh/id_dsa.pub. How do I force my ssh clients to use identity file /backup/home/user/.ssh/id_dsa to get back to my remote UNIX servers?
[click to continue…]

Start / Stop / Restart Apache Web Server Via SSH

How do I start / stop or restart Apache web sever via SSH (secure shell) under Linux or UNIX operating systems?
[click to continue…]

Removing a Directory In Linux

How do I remove a directory in Linux using the shell prompt?
[click to continue…]

Linux Iptables: Add / Delete An IP Address Remotely Using A Shell Script

I've root ssh access and need to add / delete a few IP address on fly using the IPtables command via local shell script. How do I add or delete an IP address remotely over the SSH session under CentOS / Redhat / RHEL / Debian / Ubuntu Linux?
[click to continue…]

Run / Execute Command Using SSH

How do I run a command using ssh under UNIX, OS X, *BSD, and Linux operating systems?
[click to continue…]

Ubuntu / Debian Linux Regenerate OpenSSH Host Keys

How do I regenerate OpenSSH sshd server host keys stored in /etc/ssh/ssh_host_* files? Can I safely regenerate ssh host keys using remote ssh session as my existing ssh connections shouldn't be interrupted on Debian or Ubuntu Linux?
[click to continue…]