Configuração do Terminal Deepin

Para configurar do Terminal Deepin no Mint utilize o guia abaixo

Pelo Terminal:

Abra o terminal Ctrl+Alt+F2

sudo su
"SUA SENHA"

Digite ou cole os comandos abaixo para acessar o arquivo ssh_login.sh

nano /usr/lib/deepin-terminal/ssh_login.sh
ssh_login.sh
file delete $argv0

set timeout -1
set user {<<USER>>}
set server {<<SERVER>>}
set password {<<PASSWORD>>}
set private_key {<<PRIVATE_KEY>>}
set port {<<PORT>>}
set authentication {<<AUTHENTICATION>>}
set ssh_cmd {/usr/bin/ssh/}
set ssh_opt {$user@$server -p $port -o StrictHostKeyChecking=no -o PubkeyAuthentication=$authentication}
set remote_command {<<REMOTE_COMMAND>>}

trap {
    stty rows [stty rows] columns [stty columns] < $spawn_out(slave,name)
} WINCH

eval spawn $ssh_cmd $ssh_opt
if {[string length $password]} {
    expect {
        timeout {send_user "ssh connection time out, please operate manually\n"}
        -nocase "(yes/no)\\?" {send "yes\r"; exp_continue}
        -nocase -re "password:|enter passphrase for key" {
            send "$password\r"
                }
        }

}
interact

No terminal ainda em usuário root digite ou cole os comandos abaixo para acessar o arquivo ssh_config

nano /etc/ssh/ssh_config 
ssh_config
KexAlgorithms diffie-hellman-group1-sha1,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1

Last updated

Was this helpful?