source differently and check in sshrc for necessary variables and enabled ssh foundation