Solved

LINUX , mobaxterm terminal : Not able to login, getting

Posted on 2014-11-20
11
1,993 Views
Last Modified: 2014-11-24
when I tried to login I am getting below error message.
login with PUTTY and other terminal have no issues.

I prefer to use mobaxterm, please advice
--------- ----------


If you changed or re-install this server recently, and if you are really sure
that no other computer is using its IP address, then you can reset this alarm
by deleting the ~/.ssh/known_hosts in a new MobaXterm local terminal.
Add correct host key in /home/mobaxterm/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/mobaxterm/.ssh/known_hosts:10
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
X11 forwarding is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
--------------
0
Comment
Question by:mac_g
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
11 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 40454828
1. Go to /home/mobaxterm/.ssh/known_hosts and delete line 10:
vi /home/mobaxterm/.ssh/known_hosts
:
10
d

Open in new window

2. Double check your password.
0
 

Author Comment

by:mac_g
ID: 40455632
when I logged from putty cant see the directory structure you advised..

please below output and please advice ...
---
[oracle@RDOV-FMWDEV01 ~]$ cd .ssh--/
[oracle@RDOV-FMWDEV01 .ssh--]$ ll
total 0
[oracle@RDOV-FMWDEV01 .ssh--]$ pwd
/home/oracle/.ssh--
[oracle@RDOV-FMWDEV01 .ssh--]$ cd /home
[oracle@RDOV-FMWDEV01 home]$ ll
total 4
drwx------ 25 oracle oinstall 4096 Nov 20 14:59 oracle
[oracle@RDOV-FMWDEV01 home]$
----
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40458618
You are running mobaxterm from a WIndows machine I assume, have a look here:

C:\Documents and Settings\<your_username>\.ssh\

for the known_hosts file

open that file and delete line 10 (with notepad++ for example).
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mac_g
ID: 40459350
thank for your response ...

there is no such file in said location.......
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40459393
Right. mobaxterm is using it's own 'home', it is located depending on your general setting 'Persistent Home Directory'.

To edit the file, start mobaxterm and do not login to other servers. You are now in /home/mobaxterm

Changedir to .ssh (use: cd .ssh) and edit that known_hosts file.
0
 

Author Comment

by:mac_g
ID: 40459839
yes ,,,perfect,

the above tip worked form me.

Thanks
----
Do you have any idea  how to set PS1 values in this tool.
i am able to do it partially by setting this value in .bash_profile by
export PS1="\e[1;33m\u: \w $ \e[m"

i am getting PS1 yellow as expected, but  not getting bold and bright color despite settings done in PS1 values as you can see.

my guess is there may be some gui settings in tool, we can achive it.

any advice ..

if you wish I can raise new question to answers my query
--------
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40460072
I'm assuming you're setting PS1 on the Linux machine you're logging into from mobaxterm? If you do the same using PuTTY, is the PS1 setting working?

But more detail on PS1 in mobaxterm would be a new question, yes.
0
 

Author Comment

by:mac_g
ID: 40460345
I found interesting about Mobaexterm,
Do you have any more tool  which is more impressive than  this tool.
0
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 500 total points
ID: 40460563
Impressing? I just use PuTTY with pagent. I don't need the X server that is added by  mobaxterm but that is a valuable addition. Don't know of any free and better tool out there.
0
 

Author Comment

by:mac_g
ID: 40460614
**impressive (good one)
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40460716
I know what impressive means (look at my profile), it's just that not everyone is impressed by the same and thus is this subjective, I'm not impressed by mobaxterm because I don't use the graphical features. That and the fact that it is crippled in it's free version, you need to pay for all functionality. So I'm fine with you being impressed with the tool, I'm just not.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question