Re: [arch-general] Acceso remoto consola (simil Teamviewer)

2019-08-07 Thread Christian Hesse
[ snipped a lot of Spanish (?) text ]

If I get this right you are searching for something that works like
Teamviewer, but for a terminal/console connection.

I'd suggest to have a look at "tmate". It's a fork of tmux and handles the
remote part via ssh.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgp3m9Vi7VODr.pgp
Description: OpenPGP digital signature


Re: [arch-general] Acceso remoto consola (simil Teamviewer)

2019-08-07 Thread Maykel Franco via arch-general
El mié., 7 ago. 2019 21:47, Paynalton  escribió:

>
> Si un ave no rompe su huevo morirá antes de nacer.
> Nosotros somos el ave y el mundo es nuestro huevo.
> POR LA REVOLUCIÓN DEL MUNDO
>
> Ciudad de México
>
>
> El mié., 7 ago. 2019 a las 14:40, Guido Ignacio ()
> escribió:
>
>> A ver si entendí, te refieres a usar un tunel ssh, pero debo tener
>> activo ese tunel desde mi servidor por lo cual voy a necesitar un
>> servidor del otro lado que me sirva para hacer el tunel
>>
>> A eso vas?
>>
>>
> No, un tunel VPN, y ya si quieres puedes usar ssh dentro del túnel vpn.
>
> Este manual explica como implementarlo en debian:
>
> https://wiki.debian.org/OpenVPN
>
> Para que funcione usas un servidor VPN que puedes contratar o poner como
> servicio expuesto en cualquier lado. Los equipos cliente se conectan a este
> y crean interfaces virtuales que funcionan como si físicamente se
> encontraran dentro de la misma red, actuando el servidor como un router.
>
> Adicionalmente, puedes usar los equipos cliente como gateway para conectar
> otras máquinas a la red VPN.
>
> El mié., 7 ago. 2019 a las 16:29, Paynalton ()
>> escribió:
>> >
>> > mmm, usar una vpn para poder acceder a través de un túnel a los equipos.
>> >
>> >
>> > Si un ave no rompe su huevo morirá antes de nacer.
>> > Nosotros somos el ave y el mundo es nuestro huevo.
>> > POR LA REVOLUCIÓN DEL MUNDO
>> >
>> > Ciudad de México
>> >
>> >
>> > El mié., 7 ago. 2019 a las 13:52, Guido Ignacio (<
>> guidoigna...@gmail.com>) escribió:
>> >>
>> >> Estimados buenas tardes
>> >>
>> >> Les hago una consulta, tengo un servidor casero que por temas de
>> >> restricción del ISP no tiene direccionamiento público por lo cual no
>> >> tengo llegada desde la wan a mi lan (aun routeando y poniendo la DMZ
>> >> en el router.
>> >>
>> >> La unica solución es usar algo similar a Teamviewer, pero necesito
>> >> algo que no use las X, dado que solo tengo modo consola.
>> >>
>> >> Que alternativas tengo para llegar a la consola de mi servidor?
>> >>
>> >> GRacias!
>> >>
>>
>

Si sólo es para conectar por SSH, y no quieres abrir puertos, puedes usar
ngrok. Te hace un túnel inverso muy fácil con un comando Wala

>
>>


[arch-general] Xterm and .Xresources

2019-08-07 Thread Storm Dragon via arch-general

Howdy,

I am trying to get Xterm to work in practically the same way as the console, 
just with a bit better font support. I have searched the net and created an 
extensive .Xresources file, which is attached to this message. It is supposed 
to fix all the function keys, the six pack, and even the numpad keys. the 
problem is, the keyboard fix part, doesn't work.

I found that if I export TERM=vt220 that most keys do work, but home and end in 
applications like nano and ne do not work still and cause weird behavior. I was wondering 
if exporting TERM should even be necessary, because in the console, I never have to do 
that, and it shows as "linux".

Can someone please take a look and help fix up this .Xresources, and also, do I 
really need to export TERM, or can I ditch that setting?

Thanks for the help,
Storm

--
! Start in Unicode
XTerm*utf8: 1
UXTerm*utf8: 1
! Use white-on-black colors
XTerm.vt100.reverseVideo: true
UXTerm.vt100.reverseVideo: true
! XTerm already has 256 colors support
!   We ask it to set the correct $TERM XTerm.termName: xterm-256color
UXTerm.termName: xterm-256color
! Start with maximized window
xterm*maximized: true
! Make Alt key behave like in other terminals
XTerm.vt100.metaSendsEscape: true
UXTerm.vt100.metaSendsEscape: true
! Fix the keyboard
XTerm*VT100.translations: #override \n\
Home: string(0x1b) string("[3~") \n \
End: string(0x1b) string("[4~") \n
vt220*VT100.translations: #override \n\
~Shift  F1: string(0x1b) string("OP") \n \
~Shift  F2: string(0x1b) string("OQ") \n \
~Shift  F3: string(0x1b) string("OR") \n \
~Shift  F4: string(0x1b) string("OS") \n \
~Shift  F5: string(0x1b) string("[16~") \n \
~Shift  F6: string(0x1b) string("[17~") \n \
~Shift  F7: string(0x1b) string("[18~") \n \
~Shift  F8: string(0x1b) string("[19~") \n \
~Shift  F9: string(0x1b) string("[20~") \n \
~Shift  F10: string(0x1b) string("[21~") \n \
~Shift  F11: string(0x1b) string("[28~") \n \
~Shift  F12: string(0x1b) string("[29~") \n \
Shift   F1: string(0x1b) string("[23~") \n \
Shift   F2: string(0x1b) string("[24~") \n \
Shift   F3: string(0x1b) string("[25~") \n \
Shift   F4: string(0x1b) string("[26~") \n \
Shift   F5: string(0x1b) string("[K~") \n \
Shift   F6: string(0x1b) string("[31~") \n \
Shift   F7: string(0x1b) string("[31~") \n \
Shift   F8: string(0x1b) string("[32~") \n \
Shift   F9: string(0x1b) string("[33~") \n \
Shift   F10: string(0x1b) string("[34~") \n \
Shift   F11: string(0x1b) string("[28~") \n \
Shift   F12: string(0x1b) string("[29~") \n \
Print: string(0x1b) string("[32~") \n\
Cancel: string(0x1b) string("[33~") \n\
Pause: string(0x1b) string("[34~") \n\
Insert: string(0x1b) string("[2~") \n\
Delete: string(0x1b) string("[3~") \n\
Home: string(0x1b) string("[1~") \n\
End: string(0x1b) string("[4~") \n\
Prior: string(0x1b) string("[5~") \n\
Next: string(0x1b) string("[6~") \n\
BackSpace: string(0x7f) \n\
Num_Lock: string(0x1b) string("OP") \n\
KP_Divide: string(0x1b) string("Ol") \n\
KP_Multiply: string(0x1b) string("Om") \n\
KP_Subtract: string(0x1b) string("OS") \n\
KP_Add: string(0x1b) string("OM") \n\
KP_Enter: string(0x1b) string("OM") \n\
KP_Decimal: string(0x1b) string("On") \n\
KP_0: string(0x1b) string("Op") \n\
KP_1: string(0x1b) string("Oq") \n\
KP_2: string(0x1b) string("Or") \n\
KP_3: string(0x1b) string("Os") \n\
KP_4: string(0x1b) string("Ot") \n\
KP_5: string(0x1b) string("Ou") \n\
KP_6: string(0x1b) string("Ov") \n\
KP_7: string(0x1b) string("Ow") \n\
KP_8: string(0x1b) string("Ox") \n\
KP_9: string(0x1b) string("Oy") \n
 
!   Up: string(0x1b) string("[A") \n\
!   Down: string(0x1b) string("[B") \n\
!   Right: string(0x1b) string("[C") \n\
!   Left: string(0x1b) string("[D") \n\
 
*visualBell:true
*saveLines:1000
*cursesemul:true
*scrollKey: true
*scrollBar: true
*ttyModes: erase ^?


signature.asc
Description: PGP signature