[HOME] [DOWNLOAD] [DOCS] [BLOG] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

whonix gateway can't install open ssh server


#1

hello

i have a problem with whonix gateway

i can’t install the open ssh server in the terminal it shows failed to fetch and Temporary failure resolving ‘ftp.us.debian.org

root@host:/home/user# apt install openssh-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
ncurses-term openssh-client openssh-sftp-server
Suggested packages:
ssh-askpass libpam-ssh keychain monkeysphere rssh molly-guard ufw
The following NEW packages will be installed:
ncurses-term openssh-client openssh-server openssh-sftp-server
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,615 kB of archives.
After this operation, 7,808 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://ftp.us.debian.org/debian/ jessie/main openssh-client i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-sftp-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-client i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-sftp-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-client i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-sftp-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main ncurses-term all 5.9+20140913-1
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-client i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-sftp-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/n/ncurses/ncurses-term_5.9+20140913-1_all.deb Temporary failure resolving ‘ftp.us.debian.org

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openssh/openssh-client_6.7p1-5+deb8u3_i386.deb Temporary failure resolving ‘ftp.us.debian.org

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openssh/openssh-sftp-server_6.7p1-5+deb8u3_i386.deb Temporary failure resolving ‘ftp.us.debian.org

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openssh/openssh-server_6.7p1-5+deb8u3_i386.deb Temporary failure resolving ‘ftp.us.debian.org

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

it’s something strange that i can install the ssh client in the workstation without problems

but in the gateway it’s impossible…

i restarted and reloaded tor …

and i reboot the vm too

what should i do ?

thanks


#2

Rerun sudo apt-get update.


#3

it’s done

but the result doesn’t change…

root@host:/home/user# apt-get update
Hit http://deb.whonix.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Ign http://ftp.us.debian.org jessie InRelease
Hit http://deb.whonix.org jessie/main i386 Packages
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://ftp.us.debian.org jessie Release.gpg
Hit http://security.debian.org jessie/updates/contrib i386 Packages
Hit http://security.debian.org jessie/updates/non-free i386 Packages
Hit http://ftp.us.debian.org jessie Release
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://ftp.us.debian.org jessie/main i386 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.us.debian.org jessie/contrib i386 Packages
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://ftp.us.debian.org jessie/non-free i386 Packages
Hit http://ftp.us.debian.org jessie/contrib Translation-en
Hit http://ftp.us.debian.org jessie/main Translation-en
Hit http://ftp.us.debian.org jessie/non-free Translation-en
Ign http://deb.whonix.org jessie/main Translation-en_US
Ign http://deb.whonix.org jessie/main Translation-en
Reading package lists… Done
root@host:/home/user# sudo apt install openssh-server
Reading package lists… Done
Building dependency tree
Reading state information… Done

root@host:/home/user# sudo apt install openssh-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
ncurses-term openssh-client openssh-sftp-server
Suggested packages:
ssh-askpass libpam-ssh keychain monkeysphere rssh molly-guard ufw
The following NEW packages will be installed:
ncurses-term openssh-client openssh-server openssh-sftp-server
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,615 kB of archives.
After this operation, 7,808 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://ftp.us.debian.org/debian/ jessie/main ncurses-term all 5.9+20140913-1
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-client i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main ncurses-term all 5.9+20140913-1
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-sftp-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-client i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-sftp-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
Err http://ftp.us.debian.org/debian/ jessie/main openssh-server i386 1:6.7p1-5+deb8u3
Temporary failure resolving 'ftp.us.debian.org
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/n/ncurses/ncurses-term_5.9+20140913-1_all.deb Temporary failure resolving ‘ftp.us.debian.org

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openssh/openssh-client_6.7p1-5+deb8u3_i386.deb Temporary failure resolving ‘ftp.us.debian.org

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openssh/openssh-sftp-server_6.7p1-5+deb8u3_i386.deb Temporary failure resolving ‘ftp.us.debian.org

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openssh/openssh-server_6.7p1-5+deb8u3_i386.deb Temporary failure resolving ‘ftp.us.debian.org

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

root@host:/home/user# sudo apt update --fix-missing
Err http://deb.whonix.org jessie InRelease

Err http://ftp.us.debian.org jessie InRelease

Err http://deb.whonix.org jessie Release.gpg
Temporary failure resolving 'deb.whonix.org
Err http://ftp.us.debian.org jessie Release.gpg
Temporary failure resolving 'ftp.us.debian.org
Err http://security.debian.org jessie/updates InRelease

Err http://security.debian.org jessie/updates Release.gpg
Temporary failure resolving 'security.debian.org
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
W: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease

W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie/InRelease

W: Failed to fetch http://deb.whonix.org/dists/jessie/InRelease

W: Failed to fetch http://deb.whonix.org/dists/jessie/Release.gpg Temporary failure resolving ‘deb.whonix.org

W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie/Release.gpg Temporary failure resolving ‘ftp.us.debian.org

W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg Temporary failure resolving ‘security.debian.org

W: Some index files failed to download. They have been ignored, or old ones used instead.

i’m going to donwload the vm again …

=/


#5

Change your Tor circuit. Then use nslookup for the failing DNS names
in the workstation. That sometimes makes Tor learn the DNS and then it
works even on the gateway.