Friday, August 20, 2010

IPHONE OpenSSH - ssh_exchange_identification: Connection closed by remote host



This is a bit out of topic...

When you are not be able to ssh to your iphone... as the error message as below:
ssh_exchange_identification: Connection closed by remote host

it's very high possibility that you have inflected by the ikey virus.


you can do as below:

1. reinstall openssh; then do /usr/bin/ssh root@your_iphone_ip "rm /bin/poc-bbot /bin/sshpass /var/log/youcanbeclosertogod.jpg /var/mobile/LockBackground.jpg /System/Library/LaunchDaemons/com.ikey.bbot.plist /var/lock/bbot.lock /usr/libexec/cydia/startup /usr/libexec/cydia/startup.so /usr/libexec/cydia/startup-helper /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist"

or

reinstall openssh; then use your ssh client login and cut and paste
"rm /bin/poc-bbot /bin/sshpass /var/log/youcanbeclosertogod.jpg /var/mobile/LockBackground.jpg /System/Library/LaunchDaemons/com.ikey.bbot.plist /var/lock/bbot.lock /usr/libexec/cydia/startup /usr/libexec/cydia/startup.so /usr/libexec/cydia/startup-helper /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist" (need to do it quick before the server's off; redo step 1 if you missed it.)

2. reinstall the openssh again; then change your openssh password.

if the above steps don't work.

reinstall cydia and then openssh; then change your openssh password.

See? the point is 'change your openssh password'!!!

Sources: found in the internet.

Sunday, May 30, 2010

Chinese Input Support

Here's the shortcut you can do if your Firefox doesn't support Chinese/other language Input?

Go to dictionary.com and select the translator;
Type whatever you want there, select the translation option then hit translate;



cut and paste the text~~

Sunday, April 25, 2010

Slackware 13.x : DiGi Turbo3G/Edge/GPRS HuaWei USB modem configuration with KPPP

Plug in the USB Modem, check if the driver's loaded correctly by execute 'dmesg' command... look for GSM Modem as below:


Once comfirm, run KPPP and go to the configuration :


Create a new account as below:




Under the Modems tab, create a new modem as below:


Test by querying the Modem as below:


Connect to the network by pressing the connect:




Do post your error message here if you're facing problem...

Tuesday, March 23, 2010

Slackware Linux and Joikuspot for mobile devices

Have successfully setup the joikuspot from my nokia E90 with my slackware linux.

Please find the simple settings as below:
Slackware workstation:
Assume that : wlan0 is the interface

Start-up script (manually)
=======
ifconfig wlan0 down; (off the interface too, not sure why my system required this)
iwconfig wlan0 mode ad-hoc;
iwconfig wlan0 essid islackware.blogspot.com;
iwconfig wlan0 channel 11;
iwconfig wlan0 key s:0123456789123;
dhcpcd wlan0;
=======

As for the mobile settings, pls refer to the attached.

After all this, ping 192.168.188.1 to see if there's any reply.

If you have any problem connecting it, feel free to leave comments..

Wednesday, March 17, 2010

SSH Without Password for Mobile Putty Client

Setting up a SSH login without Password for Mobile Putty Client.

From Computer:

Step 1: Using the Putty key generator to generate the secure key


Step 2: Save the private key



Step 3: Login to the ssh server using your login
(If the .ssh directory is not exists, create one)


Step 4: Create the authorized_key


Step 5: Copy the Public Key into the authorized_key and save it


Step 6: Change the authorized_key file permission to 640


Step 7: Transfer the Saved Private key to the mobile.


For those who're not using windows system : do as shown as below.


From Mobile:
Step 1: Start the putty client from your mobile.
Edit the profile-> SSH Protocol->private key and locate the saved private key.


Step 2: go to General and setup the detail


Step 3: Test the login

Could Not Find What You Want Here? Search Here!