Welcome to my site. Please CLICK HERE to give your opinions regarding this new look of "PCTipsbyAnu". Thanks for visiting.

Thursday, June 24, 2010

Browse » Home » , , , , , , , » Invisible ssh connection

Invisible ssh connection

http://www.rebex.net/images/logos/logo_SshPack_med.jpg
 PREVIOUS POST : PASSWORD LESS SSH LOGIN
 
Invisible ssh connection ,now root admin can't trace.

hello everyone
How r u?
So today i post a another post on SSH. Bcz SSH is the easy way to hack, but when we use SSH on someone SERVER thn its definetly possible that he can TRACE our IP.
But thanks to PakBugs that one of there dedicated member implenent this trick.

In the worse case if you have to ssh on a box, do it every time
with no tty allocation

Code:


ssh -T hacker@host


If you connect to a host with this way, a command like "w" will not show your connection. Better, add 'bash -i' at the end of the command to simulate a shell

Code:


ssh -T hacker@gnom.cc /bin/bash -i



Another trick with ssh is to use the -o option which allow you to
specify a particular know_hosts file

(by default it's ~/.ssh/know_hosts).

The trick is to use -o with /dev/null:

Code: 


ssh -o UserKnownHostsFile=/dev/null -T hacker@host /bin/bash -i


With this trick the IP of the box you connect to won't be logged in know_hosts.


If you get error : syntax error near unexpected token `;'
ignore it ,and do this command :

Code:


export PROMPT_COMMAND='{ date "+: %c;  ${USER} ${USERIP}    `history 1 | { read x cmd; echo "$cmd"; }`"; } >> /var/log/.cmdlog'


and :

Code:


export PROMPT_COMMAND='{ date "+: %c;  ${USER} ${USERIP}    `history 1 | { read x cmd; echo "$cmd"; }`"; } >> /dev/null'


then :

Code:


export TERM=xterm



now you can do what y0 want in server without root admin see y0 and know what's happen

y0 can use "w,top" command to see
You can leave a response, or trackback from your own site.

About 'Anu': My name is 'Anu' also Known as 'ANU 007 TIGER' .I'm administrator of 'PC Tips by Anu' blog .This blog was opened for sharing contents about hacking n cracking.
Thanks YAHOO OR GMAIL

0 comments:

Post a Comment

 
Back to Top