Tag Archive: ssh


https://blogs.technet.microsoft.com/askpfeplat/2018/10/29/ssh-on-windows-server-2019/

Advertisements

PowerShell remoting with SSH:

https://docs.microsoft.com/en-us/powershell/scripting/core-powershell/ssh-remoting-in-powershell-core?view=powershell-6

========================================================================================

How to use SFTP (and SSH) with Powershell?

http://www.powershellmagazine.com/2014/07/03/posh-ssh-open-source-ssh-powershell-module/

https://github.com/darkoperator/Posh-SSH

or Using WinSCP: http://winscp.net/eng/docs/library_powershell#using_from_powershell

Else other:

SFTP powershell snap-in: http://www.k-tools.nl/index.php/download-sftp-powershell-snap-in/

and paying software: http://www.powershellserver.com/download/

 

example of code using POSH SSH to use SFTP for secure file transfer (certified working! ;)))

$sftpUser = “myaccount”
$sftpServer = “103.x.y.z”
$LocalFile = “d:\data\filetoupload.txt”
$sftpPass = ConvertTo-SecureString -String “ttIJP0YPuPS6” -AsPlainText -Force
$sftpCred = new-object -typename System.Management.Automation.PSCredential -argumentlist $sftpUser, $sftpPass
$sftpSession = New-SFTPSession -ComputerName $sftpServer -Credential $sftpCred

Set-SFTPFile -SFTPSession $sftpSession -LocalFile $Localfile -RemotePath “/tmp/mydirectory/” -Overwrite

 

 

Bash on Windows 10:

https://blogs.msdn.microsoft.com/powershell/2016/04/01/bash-for-windows-why-its-awesome-and-what-it-means-for-powershell/

OpenSSH:

https://github.com/PowerShell/Win32-OpenSSH/wiki

https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH

Other videos:

http://www.youtube.com/watch?v=DHAEsUL6rsw

 

Sles12: https://www.suse.com/documentation/sles-12/book_security/?page=/documentation/sles-12/book_security/data/book_security.html

Sles9-10-11: http://www.novell.com/support/kb/doc.php?id=7001

RedHat:

http://linux-audit.com/hardening-guides-tools-red-hat-linux-rhel/

https://www.google.ie/url?sa=t&rct=j&q=&esrc=s&frm=1&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwid-ufSndHJAhWBthQKHR1OAL8QFggcMAA&url=https%3A%2F%2Faccess.redhat.com%2Fdocumentation%2Fen-US%2FRed_Hat_Enterprise_Linux%2F6%2Fpdf%2FSecurity_Guide%2FRed_Hat_Enterprise_Linux-6-Security_Guide-en-US.pdf&usg=AFQjCNEAgVzuaFFjY8s3c3MbBGNalUsDXQ

——————————————— Technical resources —————————————————–

Linux security Tools:

http://www.yolinux.com/TUTORIALS/LinuxSecurityTools.html

Syslog:

http://www.novell.com/coolsolutions/feature/18044.html

http://doc.ubuntu-fr.org/syslog-ng

Tcp wrappers:

http://foralllinux.blogspot.fr/2011/02/tcp-wrappers-securing-linux.html

https://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-tcpwrappers.html

Ip tables:

https://www.suse.com/communities/blog/basic-iptables-tutorial/

https://www.nbs-system.com/blog/howto-iptables.html

SSH:

http://www.cyberciti.biz/faq/how-to-set-up-ssh-keys-on-linux-unix/

https://www.suse.com/communities/blog/ssh-secure-shell-tricks/

Xinetd:

http://lea-linux.org/documentations/Xinetd