Odp: Modem 3G a dostęp z zewnątrz. Sposoby na poblokowane porty ?
Could not load "/root/.ssh/id_rsa" as a RSA1 public key^M
Nie zna takiego formatu klucza
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Modem 3G a dostęp z zewnątrz. Sposoby na poblokowane porty ?
Strony Poprzednia 1 2 3 4 5 6 7 … 16 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
Could not load "/root/.ssh/id_rsa" as a RSA1 public key^M
Nie zna takiego formatu klucza
no to co teraz z tym zrobic? ;/
A co masz na routerze? dropbear? To klucz akceptuje w postaci binarnej, wygenerowany tak jak w poradniku u mnie masz. Bo zapewne używasz kluczy przez openssh wygenerowanych. Trzeba by je przekonwertować.
tak. na kzdym z nich jako serwer ssh jest dropbear, a jako klient jest openssh.
To zamień serwer na openssh i problem niezgodności powinien zniknąć.
df -h. Ponadto w logread zobaczysz komunikaty jak nie będziesz miał miejsca we flash.
zainstalowalem openssh-server na routerze z 3g, ale dalej mam to samo...
widze ze ten sam problem ma robo1973, w takim razie cos trafione w oprogramowaniu?
Po zainstalowaniu serwera ssh pod win xp po zalogowaniu mam taki komunikat:
Could not chdir to home directory /home/user: No such file or directory
Microsoft Windows XP [Wersja 5.1.2600]
Zainstalowałem OpenSSH_5.8p1 kolego COVERek możesz dać namiar na OpenSSH_5.8p2 pod wina bo jakoś nie mogę znaleść
ja niestety na linuxie siedzie, a polaczenie miedzy routerami na openwrt zestawialem. ;(
notabene sie nie udalo... ;/
Hm, nie wiem co robisz. Jak zrobiłem openwrt(dropbear) <> debian(openssh), poszło od pierwszego strzała.
ssh -f -NT -R AAAAA:IP TUNERA:BBBB user@xxx.xxxx.xxxx
Tuner sat mam wpięty do sieci lokalnej do rutera i chcę zrobić przekierowanie jw. Czy trzeba przekierować porty w ruterze albo coś innego ustawić ? Na BBBB nadaje oscam.
juz rece mi opadaja... nie moge zrozumiec jak to jest, ze zestawia mi sie tunel po ssh a ja przez ten tunel tez po ssh nie moge sie dostac do routera za natem... to jest nielogiczne. ;/ jak moga mu sie nie zgadzac klucze, skoro tunel zostal zestawiony?
najdziwniejsze jest to, ze tunel ten kieys dzialal na tych ustawieniach w plikach konfiguracyjnych, a teraz nie chce... wszystko sie zaczelo od powgrywania 'najświeższej' wersji trunka na jednym i drugim routerze.
To tym bardziej nie powinien się buntować o to ![]()
dokopałem sie do czegos takiego, str. 41:
http://www.neophob.com/files/SSH.pdf
ale dalej w sumie nie wiem co z tym zrobić...
To możesz łatwo zweryfikować - po prostu zaloguj się kilka razy przez ssh.
polaczylem sie tunelem z pracy, komputera na linuxie i wystepuje ten sam problem z tunelem, wiec problem lezy po stronie routera serwera... a logowac, na serwer loguje sie normalnie.
Cześć !! Niby się łączę z serwerem SSH (postawionym na windows), wpisuję polecenie w kliencie na ruterze i się łączę. Wygląda że niby jest ok. a tunel tak jakby nie przesyła informacji. Zamieszczę swój sshd_config z serwera może ktoś doszuka się złego ustawienia?
# $OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.
#Port 22
#Protocol 2,1
Protocol 2
#ListenAddress 0.0.0.0
#ListenAddress ::
# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768
# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO
# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
# The following setting overrides permission checks on host key files
# and directories. For security reasons set this to "yes" when running
# NT/W2K, NTFS and CYGWIN=ntsec.
StrictModes no
RSAAuthentication no
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
IgnoreUserKnownHosts yes
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
#PermitEmptyPasswords no
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCreds yes
# Set this to 'yes' to enable PAM authentication (via challenge-response)
# and session processing. Depending on your PAM configuration, this may
# bypass the setting of 'PasswordAuthentication'
UsePAM yes
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
UsePrivilegeSeparation no
#PermitUserEnvironment no
#Compression yes
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
MaxStartups 10:30:60
# default banner path
Banner /etc/banner.txt
# override default of no subsystems
Subsystem sftp /usr/sbin/sftp-server
Czy po wgraniu openwrt-ar71xx-tl-mr3420-v1-squashfs-sysupgrade.bin do TL otwarte są porty wewnętrzne i zewnętrzne, czy trzeba je otworzyć?
Jak w każdym openwrt - od strony lan otwarte, od strony wan zamknięte.
Czy ktoś wie dlaczego strona nie chodzi ? http://eko.one.pl/?p=openwrt-openvpn
Zaktualizuję treść jak wrócę do domu, więc musisz poczekać.
Nie ściągaj bezmyślnie na wszystko co trafisz. to z tap do niczego nie jest potrzebnie, nie robisz tego przez openwrt. Ponad to jak odwołujesz do portu 80 na routerze, to czemu otwierasz AAAAA a nie 80?
Co oznacza ten komunikat: Servname not supported for ai_socktype
Zwykle tyle że odwołujesz się po nazwie usługi której nie ma /etc/services i system nie do którego portu to przypiąć.
Czy ma ktoś jakiś pomysł?
C:\Documents and Settings\user>ssh 127.0.0.1 -p 999 -vvv
OpenSSH_5.8p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 999.
debug1: connect to address 127.0.0.1 port 999: Connection refused
ssh: connect to host 127.0.0.1 port 999: Connection refused
Strony Poprzednia 1 2 3 4 5 6 7 … 16 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Modem 3G a dostęp z zewnątrz. Sposoby na poblokowane porty ?
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc