Entering the following command in your terminal:
ssh <username>@<hostname> -p <port>
Hostname: ip address of the remote server.
You can also use SSH service via visualized softwares. (MobaXTerm, FileZilla, etc.)
sudo adduser <username>
or
sudo adduser <username> sudo
When adding a new user as sudoer.
sudo chmod 700 /home/<username>
sudo du -sh /home/*
When using any command start with sudo, please ask sudoers for help.
df
$ passwd
conda create -n {envname} python=3.x
conda activate/deactivate {envname}
conda remove -n {envname} --all
conda info -e
pip install {packagename}
conda install {packagename}
or google the official guide of installing the package.
conda search numpy
conda install numpy=1.11.2
Add the following code into .profile:
FSLDIR=/usr/local/fsl
. ${FSLDIR}/etc/fslconf/fsl.sh
PATH=${FSLDIR}/bin:${PATH}
export FSLDIR PATH
then, close SSH connection and reconnect to the server.
fsl
To check whether SSH is available on the remote server, run:
ssh localhost
If the output responds with "Connection refused", move on to installing SSH on the server.
sudo apt-get install openssh-server ii
sudo service ssh status
4. The output should respond that the service is active. You will need to enable it when the service is down by running the command:
systemctl start sshd
To check whether you have the SSH client on your system, run the command:
ssh
If the output responds with "Command not found", move on to installing OpenSSH Client.
sudo apt install openssh-client
To remove CUDA Toolkit:
sudo apt-get --purge remove "cuda*" "*cublas*" "*cufft*" "*cufile*" "*curand*" \
"*cusolver*" "*cusparse*" "*gds-tools*" "*npp*" "*nvjpeg*" "nsight*" "*nvvm*"
To remove NVIDIA Drivers:
sudo apt-get --purge remove "*nvidia*" "libxnvctrl*"
To clean up the uninstall:
sudo apt-get autoremove
Reference: https://blog.gtwang.org/linux/linux-tmux-terminal-multiplexer-tutorial/