Solved

LINUX , mobaxterm terminal : Not able to login, getting

Posted on 2014-11-20
11
1,683 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
  • 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 37

Expert Comment

by:Gerwin Jansen
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
 

Author Comment

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

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

Expert Comment

by:Gerwin Jansen
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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 37

Expert Comment

by:Gerwin Jansen
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 37

Accepted Solution

by:
Gerwin Jansen 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 37

Expert Comment

by:Gerwin Jansen
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS vpc peering connection 1 43
Installing VirtualBox in Fedora 25 Linux 2 137
Linux/Apache File Ownership/Permissions 1 54
Choosing CentOS 16 59
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now