cant login by ssh

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
robko8
Posts: 4
Joined: Thu May 20, 2010 11:03 pm

cant login by ssh

Post by robko8 »

Im trying everything to login by ssh to your Gargoyle Mini router, but zero succes. I can acces web interface but ssh seems to be lock or something. I trying under linux a win7. For win7 i using Winscp port22, for xbuntu in terminal:
ssh 192.168.1.1
im geting:
ssh: connect to host 192.168.1.1 port 22: connection refused

Whats is wrong?

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: cant login by ssh

Post by DoesItMatter »

Try Putty - http://www.putty.org/

use that to telnet to 192.168.1.1 port 22

User: root
Pass: the-password-you-set-on-first-setup

If that is not connecting, you might have Windows 7 firewall
or some other program blocking the access.

You didn't change the default SSH port did you?
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

robko8
Posts: 4
Joined: Thu May 20, 2010 11:03 pm

Re: cant login by ssh

Post by robko8 »

The same thing: connection refused

port is 22, i dont think so this is firewall issue, becose under xbuntu i getting the same result.
I already restored to default settings but nothing changed.

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: cant login by ssh

Post by Eric »

When you say you can connect the web interface but not SSH, does that mean you tried from the same machine?

In particular, I'm wondering if maybe you're trying to ssh in from a machine on the WAN side, which is firewalled by default for security reasons. How do you have the router configured?

robko8
Posts: 4
Joined: Thu May 20, 2010 11:03 pm

Re: cant login by ssh

Post by robko8 »

Eric wrote:When you say you can connect the web interface but not SSH, does that mean you tried from the same machine?

In particular, I'm wondering if maybe you're trying to ssh in from a machine on the WAN side, which is firewalled by default for security reasons. How do you have the router configured?
Yes i tried from the same machine, router is connected straight to a pc with win7. I did the same on a second pc with linux, so theres no any others devices beetwen.
In firefox: 192.168.1.1 and webinterface is working.

How i can reeflash the router, by webinterface or jtag port. Which file i supposed to use?

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: cant login by ssh

Post by Eric »

That's really strange. I've never had a problem with ssh before, when the web interface was working properly.

If you want to reflash use the atheros 1.2.3 (stable branch) images. If you want to flash from the web interface use the combined.squashfs.img file, if you want to use FonFlash (also available in the download section), use the atheros-root.squashfs and atheros-vmlinux.lzma files.

robko8
Posts: 4
Joined: Thu May 20, 2010 11:03 pm

Re: cant login by ssh

Post by robko8 »

after reflash its working now, thx. :D

Post Reply