Skip to content

Instantly share code, notes, and snippets.

% ssh -vvv user@192.168.1.14 -p 2222
OpenSSH_9.0p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/***/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.1.14 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/***/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/***/.ssh/known_hosts2'
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
@DoubleBoba
DoubleBoba / main.go
Created March 26, 2023 06:23
Go ssh server that starts lxd vm on connection
package main
import (
"fmt"
"io"
"io/ioutil"
"log"
"time"
"github.com/gliderlabs/ssh"
package org.telegram.updatesreceivers;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.conn.ssl.NoopHostnameVerifier;
import org.apache.http.entity.BufferedHttpEntity;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.CloseableHttpClient;