diff --git a/autoload/SpaceVim/layers/ssh.vim b/autoload/SpaceVim/layers/ssh.vim
index b86512f92..56f460d5c 100644
--- a/autoload/SpaceVim/layers/ssh.vim
+++ b/autoload/SpaceVim/layers/ssh.vim
@@ -48,6 +48,10 @@ function! SpaceVim#layers#ssh#set_variable(opt) abort
 endfunction
 
 function! SpaceVim#layers#ssh#connect() abort
+  " the ssh client should be opened on new tab
+  tabnew
+  " set the tab name to SSH(user@ip:port)
+  let t:_spacevim_tab_name = 'SSH(' . s:user . '@' . s:ip . ':' . s:port . ')'
   if has('nvim')
     call termopen([s:ssh, '-p', s:port, s:user . '@' . s:ip])
   else