You can either alter the parameters of your currently installed server to enable debugging or install another that has the debug parameters. I prefer the latter since that doesn't overwrite the normal sshd service. If you check out '/usr/bin/ssh-host-config', there's a line in there with 'cygrunsrv -I' that you'll want to replicate and modify for your needs if you want to set up a new service. Something like this should work though, assuming you've already run '/usr/bin/ssh-host-config' before to set up the normal sshd service. /usr/bin/cygrunsrv -I sshd -d "CYGWIN sshd_debug" -p /usr/sbin/sshd -a "-D -d -d -d" -y tcpip The service starts automatically. You'll have to manage which one (the normal or the debug) that you want started automatically, depending on you need. You don't want both the debug and normal sshd services to be running at the same time. Keep in mind that the debug service terminates after the first connection ends.
If you are debugging a SSH connection, you may need to run sshd by hand (instead of as a service) and enable debugging output. Doing so allows you to track exactly why a connection is failing to establish. However, if you try to run sshd by hand, you may get the following message.
% cygrunsrv.exe --stop sshd
% /usr/sbin/sshd.exe -D
Could not load host key: /etc/ssh_host_ecdsa_key
/var/empty must be owned by root and not group or world-writable.
To fix this, make the user starting the sshd service the owner of /var/empty.
% ls -ld /var/empty
drwxr-xr-x+ 1 cyg_server root 0 May 7 2010 empty
% chown <user> /var/empty
Now, start sshd again.
% /usr/sbin/sshd.exe -D
When you are done debugging and are ready to run sshd again as a service, change the owner of /var/empty to cyg_server.
% chown cyg_server /var/empty
% cygrunsrv.exe --start sshd
Note: you must have administrator privileges to run cygrunsrv.exe.
Un article très intéressant lue par ma femme.
Mais je n'ai qu'une fille, comment faire lorsque l'on a pas de fils ?
Je vais tenter de mettre en place Armbian sur ma box, est-ce que j'y arriverai...
Recently, Microsoft has released an early version of OpenSSH for Windows. You can use the package to set up an SFTP/SSH server on Windows.
Cet article va vous expliquer comment installer et configurer un serveur ssh sous Windows.
Borg Backup - unofficial Windows releases
Created by Billy Charlton
GPG key fingerprint: EC2B 7E69 BDA3 F260 8396 3E41 40ED 1F77 9784 BBF0Un petit mémo/tutoriel sur le mise en place d’un serveur de sauvegarde avec BorgBackup. Il s’agit d’un logiciel de sauvegarde avec déduplication, qui supporte la compression et le chiffrement. Si vous voulez en savoir davantage je vous invite à aller jeter un coup d’œil à la documentation
A next generation web framework for the Perl programming language.
Back in the early days of the web, many people learned Perl because of a wonderful Perl library called CGI. It was simple enough to get started without knowing much about the language and powerful enough to keep you going, learning by doing was much fun. While most of the techniques used are outdated now, the idea behind it is not. Mojolicious is a new endeavor to implement this idea using bleeding edge technologies.
Défiez la procrastination avec Habitica, le jeu où vous gagnez des points en prenant rendez-vous chez le médecin !
Si vous cherchez à corriger vos contributions avant de les publier pensez à Grammalecte ;)
et il existe une extension Firefox en plus !!
USA 320 millions d'habitants.
Australie: 20 millions ?
pourquoi ??
entre autre :
Le désert et ses marges Les climats aride et semi-aride de l'intérieur sont hostiles à l'occupation humaine L'Australie présente de véritables déserts où les précipitations tombent en dessous de 150 mm par an, alors que les températures diurnes demeurent élevées. Les activités humaines y sont quasiment impossibles.
Une conf sur la transformation usine --> devops
Merci
frontend ft_ssl
bind 192.168.0.1:443
mode tcp
option tcplog
tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }
acl sslvpn req_ssl_sni -i vpn.example.net
use_backend bk_sslvpn if sslvpn
use_backend bk_web if { req_ssl_sni -m found }
default_backend bk_ssh
backend bk_sslvpn
mode tcp
source 0.0.0.0 usesrc clientip
server srvvpn vpnserver:1194
backend bk_web
mode tcp
source 0.0.0.0 usesrc clientip
server srvhttps webserver:443
backend bk_ssh
mode tcp
source 0.0.0.0 usesrc clientip
server srvssh sshserver:22
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to [DestinationIP:PORT]