——–—Find a process ID and directory

lsof -d cwd

———-Map a process to a port

sudo lsof -i | grep http

——–—Terminal set proxy server

export http_proxy=’http://proxyServerSddress:proxyPort’   

export https_proxy=’https://proxyServerSddress:proxyPort’

and use the following commands to disable proxy

unset http_proxy

unset https_proxy

———–Install Putty

Brew install gtk+3

brew install –build-from-source putty

—–Install ftp server

brew install pure-ftpd

brew services start pure-ftpd

/usr/local/etc/pure-ftpd.conf

——USB Console Cable Accessing the COM Port

Console access

screen /dev/tty.usbserial-AI06IYFU

—-Deleting a loopback address

sudo ifconfig lo0 delete

sudo ifconfig lo0 remove

—Unable to SSH no supported groups

sudo nano /etc/ssh/ssh_config

ENTER YOUR PASSWORD

Locate the line ‘ #   MACs hmac-md5,hmac-sha1,hmac-sha2-256,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning, and add the extra hashing algorithm that I’ve shown above in red. 

Locate the line ‘ #   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.

Then paste the following on the end;

HostkeyAlgorithms ssh-dss,ssh-rsa

KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

Leave a Reply