Archive for General Blog

Restarting Openfiler iSCSI Target via Command Line

To restart iSCSI Target service in Openfiler, you need to have console or ssh into openfiler. When you make changes to iSCSI configuration file manually, you may need to restart the service. The Command “service iscsi-target restart”, will restart only iSCSI target service

~ $ ssh -l root 10.10.10.10
root@10.10.10.10's password:
Last login: Tue Jul 30 12:43:42 2013 from 10.0.10.1
[root@of ~]# service iscsi-target restart
Stopping iSCSI target service: ......                      [  OK  ]
Starting iSCSI target service:                             [  OK  ]
[root@of ~]#
   Send article as PDF   

Mac OSX SSH Host key verification failed

I had a situation when I tried to SSH into one of the server, I received the error message below. Basically the server had generated a new SSH RSA host key that doesnt match with the old one stored on my MacBook Pro.

;

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
 Someone could be eavesdropping on you right now (man-in-the-middle attack)!
 It is also possible that the RSA host key has just been changed.
 The fingerprint for the RSA key sent by the remote host is
 21:79:38:2d:2c:3d:f0:08:5d:e5:a6:a0:3f:af:a1:0a.
 Please contact your system administrator.
 Add correct host key in /Users/root/.ssh/known_hosts to get rid of this message.
 Offending key in /Users/root/.ssh/known_hosts:7
 RSA host key for x.x.x.x has changed and you have requested strict checking.
 Host key verification failed.

;

Read more

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: