Professional Documents
Culture Documents
(OpenWrt Wiki) Acceso SSH para Recién Llegados - WinSCP
(OpenWrt Wiki) Acceso SSH para Recién Llegados - WinSCP
ssh root@192.168.1.1
The first time you ssh into your router, you will probably see a warning about the RSA key
fingerprint.
If you are certain this is the address of your OpenWrt device, simply type yes
and press Return.
Then enter the password you have given to your router, or press Return if
this is the initial setup.
Here is an example session:
Are you sure you want to continue connecting (yes/no)? yes <== and this
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
-----------------------------------------------------
To end your ssh session to your router, type exit and press Return.
The remainder of this page describes several terminal emulators that Windows, Linux, or
macOS can use to access your OpenWrt device.
https://openwrt.org/docs/guide-quick-start/sshadministration 1/6
15/9/21 11:42 [OpenWrt Wiki] Acceso SSH para recién llegados
Windows Terminal for Windows 10 or the legacy ConHost (both giving access to Windows
PowerShell, Windows Command Prompt, WSL Bash), PuTTY, MinGW (installed together
with Git), Cmder, SmarTTY, and WinSCP are terminal emulators that allow you to SSH () into
an OpenWrt router.
If you have installed a WSL distribution, the SSH () client is usually preinstalled in there.
If you directly launch cmd.exe , powershell.exe or wsl.exe the legacy ConHost terminal
will open.
Otherwise, you can install the modern Windows Terminal
(https://www.microsoft.com/store/productId/9N0DX20HK701) from the store and select any
of these shells from there.
1. Open any of the above terminal emulators and write ssh root@192.168.1.1 (“ssh” is
the command, “root” is the OpenWrt user you are connecting to, and “192.168.1.1” is
OpenWrt default IP ())
2. there will be a message about accepting a new key from the OpenWrt device, write
“yes” and press Enter key.
a. If for some reason you have reinstalled OpenWrt the device will have a different
key and you get an error about key mismatch. The error will state what is the
command line to copy-paste in your terminal to delete the old key and proceed.
Do it and retry.
3. if you want to close the session, write “exit”
The Windows 10 optional SSH () feature also includes SCP client (to
open/edit/download/upload files in OpenWrt via SSH ()).
Try google for some SCP tutorials
to learn how to use it.
Otherwise, use WinSCP which is way easier for SCP purposes.
PowerShell
Powershell (https://devblogs.microsoft.com/powershell/announcing-PowerShell-7-0/)
provides SSH () access.
PuTTY
https://openwrt.org/docs/guide-quick-start/sshadministration 2/6
15/9/21 11:42 [OpenWrt Wiki] Acceso SSH para recién llegados
Automatización de conexiones.
WinSCP
WinSCP le permite navegar por el sistema de archivos OpenWrt en Windows Exlorer como
estilo GUI () .
https://openwrt.org/docs/guide-quick-start/sshadministration 3/6
15/9/21 11:42 [OpenWrt Wiki] Acceso SSH para recién llegados
Cmder
Cmder para Windows es un emulador de terminal de código abierto que se ejecuta en
Windows. Es de uso gratuito y proporciona un sencillo "shell de línea de comandos" que le
permite ingresar a OpenWrt. Sus atractivas fuentes y su combinación de colores son
agradables a la vista. Se prefiere la distribución completa (sobre la mini distribución), ya que
proporciona una emulación bash, con un conjunto de comandos Unix-y.
SmarTTY
SmarTTY le brinda acceso de línea de comandos a OpenWrt y le permite abrir / editar /
descargar / cargar archivos en OpenWrt, y en general es más moderno y fácil de usar que
PuTTY (otra herramienta que se detalla a continuación).
https://openwrt.org/docs/guide-quick-start/sshadministration 4/6
15/9/21 11:42 [OpenWrt Wiki] Acceso SSH para recién llegados
sftp-server para instalarlo. Si el siguiente paso falla, podría ser necesario reiniciar el
dispositivo OpenWrt para que este nuevo servicio se inicie correctamente.
7. Ahora puede hacer clic en Archivo → Abrir un archivo remoto para abrir una
ventana emergente que muestra el sistema de archivos del dispositivo OpenWrt, y
puede navegar en él y abrir archivos de texto, por ejemplo, como de costumbre (se
abrirán en una ventana del editor de texto SmarTTY)
8. Si desea cargar o descargar archivos a / desde una carpeta específica en el
dispositivo, puede hacer clic en el menú SCP y elegir la acción más apropiada desde
allí.
Después de la primera vez que se conectó a un dispositivo, SmarTTY guardó un perfil, por
lo que puede conectarse nuevamente al mismo dispositivo (en esa dirección IP () con esa
contraseña) simplemente haciendo doble clic en su ícono en la primera ventana que ve al
iniciar SmarTTY. Puede hacer clic con el botón derecho en este icono de perfil para editarlo
de nuevo, si es necesario.
1. Open a terminal emulator and write ssh root@192.168.1.1 (“ssh” is the command,
“root” is the OpenWrt user you are connecting to, and “192.168.1.1” is OpenWrt
default IP ())
2. there will be a message about accepting a new key from the OpenWrt device, write
“yes” and press Enter key.
a. If for some reason you have reinstalled OpenWrt the device will have a different
key and you get an error about key mismatch. The error will state what is the
command line to copy-paste in your terminal to delete the old key and proceed.
3. if you want to close the session, write “exit”
Linux also usually has SCP/SFTP () clients (to open/edit/download/upload files in OpenWrt),
which may or may not be installed by default.
You need to look up your distro's
documentation or search with your package management interface for “scp” and “sftp” to find
where it is and its current installation status.
Read scp manual (http://man.cx/scp) for the
command line SCP client or google some tutorials to learn how to use it.
Midnight Commander
Midnight Commander (https://midnight-commander.org/) is Norton Commander like file
manager that works on Linux and macOS.
You can access remote files on OpenWrt via mc:
1. Press 'F9'
2. Select 'Left' panel config
3. Select 'Shell link'
4. Input 'root@192.168.1.1/' and press OK
5. Now you'll see list of files and directories in root of OpenWrt
https://openwrt.org/docs/guide-quick-start/sshadministration 5/6
15/9/21 11:42 [OpenWrt Wiki] Acceso SSH para recién llegados
To ssh into your OpenWrt router at 192.168.1.1, type ssh root@192.168.1.1 , then press
Return.
Salvo que se indique lo contrario, el contenido de este wiki tiene la siguiente licencia:
https://openwrt.org/docs/guide-quick-start/sshadministration 6/6