Skip to content

Instantly share code, notes, and snippets.

blacknon

Block or report user

Report or block blacknon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@blacknon
blacknon / ssh_term_x11forwarding.go
Last active Jul 11, 2019
ssh_term_x11forwarding.go
View ssh_term_x11forwarding.go
// Test only on Mac
package main
import (
"crypto/sha1"
"errors"
"fmt"
"io"
"math/rand"
@blacknon
blacknon / notworking_ssh_term_x11forwarding.go
Created Jul 9, 2019
notworking_ssh_term_x11forwarding.go
View notworking_ssh_term_x11forwarding.go
package main
import (
"errors"
"fmt"
"os"
"os/signal"
"syscall"
"golang.org/x/crypto/ssh"
@blacknon
blacknon / ssh_term_ssh_config_proxy_command.go
Created Jun 9, 2019
ssh_term_ssh_config_proxy_command.go
View ssh_term_ssh_config_proxy_command.go
package main
import (
"fmt"
"io"
"io/ioutil"
"net"
"os"
"os/exec"
"os/signal"
View ssh_term_cert.go
package main
import (
"fmt"
"io"
"io/ioutil"
"os"
"os/signal"
"os/user"
"strings"
View ssh_term_pkcs11_2.go
package main
import (
"crypto"
"fmt"
"os"
"os/signal"
"syscall"
"github.com/ThalesIgnite/crypto11"
View ssh_term_pkcs11.go
package main
import (
"crypto"
"fmt"
"os"
"os/signal"
"syscall"
"github.com/ThalesIgnite/crypto11"
View ssh_term_multiple_auth.go
package main
import (
"fmt"
"io/ioutil"
"os"
"os/signal"
"syscall"
"golang.org/x/crypto/ssh"
View ssh_term_agent_auth.go
package main
import (
"fmt"
"io/ioutil"
"net"
"os"
"os/signal"
"syscall"
View ssh_term_agent.go
package main
import (
"fmt"
"io/ioutil"
"os"
"os/signal"
"syscall"
"golang.org/x/crypto/ssh"
@blacknon
blacknon / ssh_term_portforward.go
Last active Feb 6, 2019
ssh_term_portforward.go
View ssh_term_portforward.go
package main
import (
"fmt"
"io"
"net"
"os"
"os/signal"
"syscall"
You can’t perform that action at this time.