Solved

LINUX , mobaxterm terminal : Not able to login, getting

Posted on 2014-11-20
11
1,576 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

743 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

11 Experts available now in Live!

Get 1:1 Help Now